// ********************************************************************************
// El reloj
// ********************************************************************************
ParamClk paramClk = new ParamClk(300, 300);
GateDescriptor descClk = new ClkDescriptor((ParamClk) paramClk.clone());
Gate clk = new Clk(circuit, descClk, paramClk);
IconGate iconClk = new IconGate(clk);
circuit.addIconGate(iconClk, 100, 50);
// El switch
GateDescriptor descSwitch = new SwitchDescriptor((ParamSwitch) paramSwitch.clone());
Gate switch1 = new Switch(circuit, descSwitch, paramSwitch);
IconGate iconSwitch = new IconGate(switch1);
circuit.addIconGate(iconSwitch, 300, 50);
// Una banderita
GateDescriptor descFlag = new FlagDescriptor();
Gate flag = new Flag(circuit, descFlag, new ParamVoid());
IconGate iconFlag = new IconGate(flag);
circuit.addIconGate(iconFlag, 200, 50); // Superfluo
// El lector de 7 segmentos
GateDescriptor descDisp = new SegmentDisplayDescriptor((ParamSegmentDisplay) paramDisp.clone());
Gate disp = new SegmentDisplay(circuit, descDisp, paramDisp);
IconGate iconDisp = new IconGate(disp);
circuit.addIconGate(iconDisp, 250, 50); // Superfluo */
// Agrego el label
circuit.addIconGate(iconLabel, 300, 100);