Lines Matching refs:multiplexer
141 ElectricalModel* multiplexer = new Multiplexer("Mux_1", getTechModel());
142 multiplexer->setParameter("NumberInputs", 2);
143 multiplexer->setParameter("NumberBits", mux_bits);
144 multiplexer->setParameter("BitDuplicate", "FALSE");
145 //multiplexer->setProperty("P(In)", "[0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5]");
146 //multiplexer->setProperty("P(Sel)", "[0.5, 0.5, 0.5]");
147 //multiplexer->setProperty("Act(In)", "[1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0]");
148 //multiplexer->setProperty("Act(Sel)", "[2.0, 4.0, 8.0]");
149 multiplexer->setProperty("P(In)", "[0.5, 0.5]");
150 multiplexer->setProperty("P(Sel)", "[0.5]");
151 multiplexer->setProperty("Act(In)", "[1.0, 1.0]");
152 multiplexer->setProperty("Act(Sel)", "[1.0]");
153 multiplexer->construct();
162 portConnect(multiplexer, "In0", "In0");
163 portConnect(multiplexer, "In1", "In1");
164 //portConnect(multiplexer, "In2", "In2");
165 //portConnect(multiplexer, "In3", "In3");
166 //portConnect(multiplexer, "In4", "In4");
167 portConnect(multiplexer, "Out", "Out");
183 //portConnect(multiplexer, "Sel", "Sel");
185 addSubInstances(multiplexer, 1.0);