public CounterRipple16(string name) { V = new ConnectionPoint($"{name}-counter16.v"); Clr = new ConnectionPoint($"{name}-counter16.clr"); _flop0 = new DFlipFlopEdgeWithPresetAndClear($"{name}-counter16.q0"); _flop1 = new DFlipFlopEdgeWithPresetAndClear($"{name}-counter16.q1"); _flop2 = new DFlipFlopEdgeWithPresetAndClear($"{name}-counter16.q2"); _flop3 = new DFlipFlopEdgeWithPresetAndClear($"{name}-counter16.q3"); _flop4 = new DFlipFlopEdgeWithPresetAndClear($"{name}-counter16.q4"); _flop5 = new DFlipFlopEdgeWithPresetAndClear($"{name}-counter16.q5"); _flop6 = new DFlipFlopEdgeWithPresetAndClear($"{name}-counter16.q6"); _flop7 = new DFlipFlopEdgeWithPresetAndClear($"{name}-counter16.q7"); _flop8 = new DFlipFlopEdgeWithPresetAndClear($"{name}-counter16.q8"); _flop9 = new DFlipFlopEdgeWithPresetAndClear($"{name}-counter16.q9"); _flop10 = new DFlipFlopEdgeWithPresetAndClear($"{name}-counter16.q10"); _flop11 = new DFlipFlopEdgeWithPresetAndClear($"{name}-counter16.q11"); _flop12 = new DFlipFlopEdgeWithPresetAndClear($"{name}-counter16.q12"); _flop13 = new DFlipFlopEdgeWithPresetAndClear($"{name}-counter16.q13"); _flop14 = new DFlipFlopEdgeWithPresetAndClear($"{name}-counter16.q14"); _flop15 = new DFlipFlopEdgeWithPresetAndClear($"{name}-counter16.q15"); DoWireUp(); Components.Record(nameof(CounterRipple16)); }
public LatchEdge8(string name) { V = new ConnectionPoint($"{name}-latch8.v"); Clr = new ConnectionPoint($"{name}-latch8.clr"); Clk = new ConnectionPoint($"{name}-latch8.clk"); Pre = new ConnectionPoint($"{name}-latch8.pre"); _flop0 = new DFlipFlopEdgeWithPresetAndClear($"{name}-latch8.0"); _flop1 = new DFlipFlopEdgeWithPresetAndClear($"{name}-latch8.1"); _flop2 = new DFlipFlopEdgeWithPresetAndClear($"{name}-latch8.2"); _flop3 = new DFlipFlopEdgeWithPresetAndClear($"{name}-latch8.3"); _flop4 = new DFlipFlopEdgeWithPresetAndClear($"{name}-latch8.4"); _flop5 = new DFlipFlopEdgeWithPresetAndClear($"{name}-latch8.5"); _flop6 = new DFlipFlopEdgeWithPresetAndClear($"{name}-latch8.6"); _flop7 = new DFlipFlopEdgeWithPresetAndClear($"{name}-latch8.7"); DoWireUp(); Components.Record(nameof(LatchEdge8)); }