Lines Matching refs:number_bits
71 unsigned int number_bits = getParameter("NumberBits").toUInt();
76 ASSERT(number_bits > 0, "[Error] " + getInstanceName() +
83 createInputPort("In" + (String)i, makeNetIndex(0, number_bits-1));
85 createOutputPort("Out", makeNetIndex(0, number_bits-1));
99 //up by number of bits or actually instantiate number_bits of 1-bit instances.
101 if(bit_duplicate || number_bits == 1)
158 addSubInstances(or0, number_bits);
159 addElectricalSubResults(or0, number_bits);
160 addSubInstances(or1, number_bits);
161 addElectricalSubResults(or1, number_bits);
162 addSubInstances(orf, number_bits);
163 addElectricalSubResults(orf, number_bits);
166 or_event->addSubResult(or0->getEventResult("OR"), or0_name, number_bits);
167 or_event->addSubResult(or1->getEventResult("OR"), or1_name, number_bits);
168 or_event->addSubResult(orf->getEventResult("OR2"), orf_name, number_bits);
176 for(unsigned int n = 0; n < number_bits; ++n)
204 unsigned int number_bits = getParameter("NumberBits").toUInt();
211 if(bit_duplicate || number_bits == 1)
244 for(unsigned int n = 0; n < number_bits; ++n)