Searched refs:number_bits (Results 1 - 9 of 9) sorted by relevance

/gem5/ext/dsent/model/electrical/
H A DRippleAdder.cc58 unsigned int number_bits = (unsigned int) getParameter("NumberBits"); local
63 for(unsigned int i = 0; i < number_bits; ++i)
70 createNet("C" + String(number_bits));
80 assign("CO", "C" + String(number_bits));
81 for (unsigned int i = 0; i < number_bits; ++i)
105 unsigned int number_bits = getParameter("NumberBits").toUInt(); local
108 for(unsigned int i = 0; i < number_bits; ++i)
H A DOR.cc71 unsigned int number_bits = getParameter("NumberBits").toUInt(); local
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);
204 unsigned int number_bits = getParameter("NumberBits").toUInt(); local
[all...]
H A DMultiplexer.cc68 unsigned int number_bits = (unsigned int) getParameter("NumberBits"); local
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);
275 unsigned int number_bits = (unsigned int) getParameter("NumberBits"); local
[all...]
H A DBarrelShifter.cc69 unsigned int number_bits = getParameter("NumberBits"); local
70 unsigned int number_shift_bits = (unsigned int)ceil(log2((double) number_bits));
75 ASSERT(number_bits > 0, "[Error] " + getInstanceName() + " -> Number of bits must be > 0!");
89 createInputPort( "In", makeNetIndex(0, number_bits-1));
91 createOutputPort( "Out", makeNetIndex(0, number_bits-1));
123 createNet("R_" + n, makeNetIndex(0, number_bits-1)); //wire R_n[number_bits-1:0]
124 createNet("RS_" + n, makeNetIndex(0, number_bits-1)); //wire RS_n[number_bits-1:0]
127 //assign RS_n[number_bits
201 unsigned int number_bits = (unsigned int) getParameter("NumberBits"); local
[all...]
H A DDFFRAM.cc71 unsigned int number_bits = getParameter("NumberBits").toUInt(); local
74 ASSERT(number_bits > 0, "[Error] " + getInstanceName() +
82 createInputPort("In", makeNetIndex(0, number_bits-1));
90 createOutputPort("Out", makeNetIndex(0, number_bits-1));
195 for(unsigned int n = 0; n < number_bits; ++n)
219 for(unsigned int n = 0; n < number_bits; ++n)
227 addSubInstances(dffs[i], number_bits);
228 addElectricalSubResults(dffs[i], number_bits);
234 addSubInstances(mux, number_bits);
235 addElectricalSubResults(mux, number_bits);
[all...]
H A DRepeatedLink.cc82 unsigned int number_bits = getParameter("NumberBits").toUInt(); local
87 ASSERT(number_bits > 0, "[Error] " + getInstanceName() +
111 createInputPort("In", makeNetIndex(0, number_bits-1));
112 createOutputPort("Out", makeNetIndex(0, number_bits-1));
155 unsigned int number_bits = getParameter("NumberBits").toUInt(); local
270 addElecticalAtomicResultValues(m_repeater_, number_segments * number_bits);
271 double wire_area = wire_length * (wire_width + wire_spacing) * number_bits;
289 unsigned int number_bits = getParameter("NumberBits").toUInt(); local
297 power += m_repeater_->getNddPowerResult("Leakage")->calculateSum() * number_segments * number_bits;
302 energy += m_repeater_->getEventResult("INV")->calculateSum() * number_segments * number_bits;
[all...]
H A DMultiplexerCrossbar.cc73 unsigned int number_bits = getParameter("NumberBits").toUInt(); local
78 ASSERT(number_bits > 0, "[Error] " + getInstanceName() + " -> Number of bits must be > 0!");
87 createInputPort("In" + (String)i, makeNetIndex(0, number_bits-1));
100 createOutputPort("Out" + (String)i, makeNetIndex(0, number_bits-1));
138 muxs[i]->setParameter("NumberBits", number_bits);
149 portConnect(muxs[i], "In" + (String)j, "In" + (String)j, makeNetIndex(0, number_bits-1));
159 portConnect(muxs[i], "Out", "Out" + (String)i, makeNetIndex(0, number_bits-1));
180 double wire_area = (number_bits * number_inputs * wire_pitch) * (number_bits * number_outputs * wire_pitch);
H A DBroadcastHTree.cc92 unsigned int number_bits = getParameter("NumberBits").toUInt(); local
99 ASSERT(number_bits > 0, "[Error] " + getInstanceName() +
123 createInputPort("In", makeNetIndex(0, number_bits-1));
124 createOutputPort("Out", makeNetIndex(0, number_bits-1));
179 unsigned int number_bits = getParameter("NumberBits"); local
348 wire_area += wire_length * (wire_width + wire_spacing) * number_branches * number_bits;
349 addElecticalAtomicResultValues(m_repeaters_[i], m_number_segments_[i] * number_branches * number_bits);
354 addElecticalAtomicResultValues(m_leaf_head_driver_, number_branches * number_bits);
357 addElecticalAtomicResultValues(m_leaf_drivers_[i], number_branches * number_bits);
366 unsigned int number_bits local
[all...]
/gem5/ext/dsent/model/optical/
H A DSWSRLink.cc73 unsigned int number_bits = getParameter("NumberBits"); local
81 unsigned int number_wavelengths = (unsigned int)((double) number_bits * core_data_rate / link_data_rate);
88 createInputPort("In", makeNetIndex(0, number_bits-1));
89 createOutputPort("Out", makeNetIndex(0, number_bits-1));
113 tx_backend->setParameter("InBits", number_bits);
122 rx_backend->setParameter("OutBits", number_bits);

Completed in 8 milliseconds