mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-23 09:05:32 +00:00
AigMaker refactoring
This commit is contained in:
parent
e534881794
commit
1ae360cf72
4 changed files with 165 additions and 90 deletions
|
@ -89,7 +89,7 @@ struct AigmapPass : public Pass {
|
|||
if (node.portbit >= 0) {
|
||||
bit = cell->getPort(node.portname)[node.portbit];
|
||||
} else if (node.left_parent < 0 && node.right_parent < 0) {
|
||||
bit = node.inverter ? State::S0 : State::S1;
|
||||
bit = node.inverter ? State::S1 : State::S0;
|
||||
goto skip_inverter;
|
||||
} else {
|
||||
SigBit A = sigs.at(node.left_parent);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue