static void Main(string[] args) { using (var sim = new Simulation()) { var simulator = new DecoderSimulator(); var calculator = new Decoder(simulator.input); sim .BuildCSVFile() .BuildGraph() .BuildVHDL() .Run(); } }
static void Main(string[] args) { using (var sim = new Simulation()) { var simulator = new DecoderSimulator(); var NOTGate_0 = new NOTGate_0(simulator.input_0); var ANDGate_0 = new ANDGate_0(NOTGate_0.output_0); var ANDGate_1 = new ANDGate_1(simulator.input_0); sim .BuildCSVFile() .BuildGraph() .BuildVHDL() .Run(); } }