mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-18 03:46:18 +00:00
Add comment
This commit is contained in:
parent
41243a53b3
commit
fb062c3426
1 changed files with 5 additions and 0 deletions
|
@ -787,6 +787,11 @@ void abc9_module(RTLIL::Design *design, RTLIL::Module *current_module, std::stri
|
||||||
sink_cell->setParam("\\LUT", mask);
|
sink_cell->setParam("\\LUT", mask);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Since we have rewritten all sinks (which we know
|
||||||
|
// to be only LUTs) to be after the inverter, we can
|
||||||
|
// go ahead and clone the LUT with the expectation
|
||||||
|
// that the original driving LUT will become dangling
|
||||||
|
// and get cleaned away
|
||||||
clone_lut:
|
clone_lut:
|
||||||
driver_mask = driver_lut->getParam("\\LUT");
|
driver_mask = driver_lut->getParam("\\LUT");
|
||||||
for (auto &b : driver_mask.bits) {
|
for (auto &b : driver_mask.bits) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue