Lines Matching refs:ripple_adder
127 ElectricalModel* ripple_adder = new RippleAdder("Adder_1", getTechModel());
128 ripple_adder->setParameter("NumberBits", num_bits);
129 ripple_adder->setProperty("P(A)", 0.5);
130 ripple_adder->setProperty("P(B)", 0.5);
131 ripple_adder->setProperty("P(CI)", 0.5);
133 ripple_adder->construct();
134 addSubInstances(ripple_adder, 1.0);
135 portConnect(ripple_adder, "CI", "CI");
136 portConnect(ripple_adder, "CO", "CO");
137 portConnect(ripple_adder, "A", "A");
138 portConnect(ripple_adder, "B", "B");
139 portConnect(ripple_adder, "S", "S");
187 //ElectricalTimingAbstract* abstract = new ElectricalTimingAbstract("HAHAHA", getTechModel(), ripple_adder);
213 //ripple_adder->getNddPowerResult("LeakagePower")->print("RippleAdder->Leakage", 10, cout);
215 //ripple_adder->getAreaResult("TotalArea")->print("RippleAdder->TotalArea", 10, cout);
217 //ripple_adder->getEventResult("AddEvent")->print("RippleAdder->AddEvent", 10, cout);
230 //ripple_adder->getNddPowerResult("LeakagePower")->print("RippleAdder->Leakage", 10, cout);
232 //ripple_adder->getAreaResult("TotalArea")->print("RippleAdder->TotalArea", 10, cout);
234 //ripple_adder->getEventResult("AddEvent")->print("RippleAdder->AddEvent", 10, cout);