Lines Matching refs:number_bits
68 unsigned int number_bits = (unsigned int) getParameter("NumberBits");
75 ASSERT(number_bits > 0, "[Error] " + getInstanceName() + " -> Number of bits must be > 0!");
80 createInputPort( "In" + (String) i, makeNetIndex(0, number_bits-1));
87 createOutputPort( "Out", makeNetIndex(0, number_bits-1));
102 //up by number of bits or actually instantiate number_bits of 1-bit instances.
104 if (bit_duplicate || number_bits == 1)
184 for (unsigned int n = 0; n < number_bits; ++n)
215 if (number_bits == 1)
224 for (unsigned int n = 0; n < number_bits; ++n)
229 addSubInstances(mux0, number_bits);
230 addElectricalSubResults(mux0, number_bits);
231 addSubInstances(mux1, number_bits);
232 addElectricalSubResults(mux1, number_bits);
233 addSubInstances(muxf, number_bits);
234 addElectricalSubResults(muxf, number_bits);
235 getEventResult("Mux")->addSubResult(mux0->getEventResult("Mux"), mux0_name, number_bits);
236 getEventResult("Mux")->addSubResult(mux1->getEventResult("Mux"), mux1_name, number_bits);
237 getEventResult("Mux")->addSubResult(muxf->getEventResult("MUX2"), muxf_name, number_bits);
245 for (unsigned int n = 0; n < number_bits; ++n)
275 unsigned int number_bits = (unsigned int) getParameter("NumberBits");
289 if (bit_duplicate || number_bits == 1)
346 for (unsigned int n = 0; n < number_bits; ++n)