mirror of
https://github.com/YosysHQ/yosys
synced 2025-10-12 18:50:19 +00:00
s/NEW_ID/NEWER_ID/g
This commit is contained in:
parent
e4d4de1020
commit
d2b28d7a25
130 changed files with 1275 additions and 1275 deletions
|
@ -57,10 +57,10 @@ struct BwmuxmapPass : public Pass {
|
|||
auto &sig_b = cell->getPort(ID::B);
|
||||
auto &sig_s = cell->getPort(ID::S);
|
||||
|
||||
auto not_s = module->Not(NEW_ID, sig_s);
|
||||
auto masked_b = module->And(NEW_ID, sig_s, sig_b);
|
||||
auto masked_a = module->And(NEW_ID, not_s, sig_a);
|
||||
module->addOr(NEW_ID, masked_a, masked_b, sig_y);
|
||||
auto not_s = module->Not(NEWER_ID, sig_s);
|
||||
auto masked_b = module->And(NEWER_ID, sig_s, sig_b);
|
||||
auto masked_a = module->And(NEWER_ID, not_s, sig_a);
|
||||
module->addOr(NEWER_ID, masked_a, masked_b, sig_y);
|
||||
|
||||
module->remove(cell);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue