log_id(extract.rwire->name),
count_reg_src.c_str());
- log("blah");
-
//Wipe all of the old connections to the ALU
cell->unsetPort("\\A");
cell->unsetPort("\\B");
cell->unsetParam("\\B_SIGNED");
cell->unsetParam("\\B_WIDTH");
cell->unsetParam("\\Y_WIDTH");
-
- log("asdf");
-
+
//Change the cell type
cell->type = celltype;
cell->setPort("\\RST", RTLIL::SigSpec(false));
}
- log("world");
-
//Hook up other stuff
cell->setParam("\\CLKIN_DIVIDE", RTLIL::Const(1));
cell->setParam("\\COUNT_TO", RTLIL::Const(extract.count_value));