mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-24 01:25:33 +00:00
AigMaker refactoring
This commit is contained in:
parent
e534881794
commit
1ae360cf72
4 changed files with 165 additions and 90 deletions
|
@ -225,7 +225,7 @@ struct JsonWriter
|
|||
f << stringf("\"%sport\", \"%s\", %d", node.inverter ? "n" : "",
|
||||
log_id(node.portname), node.portbit);
|
||||
else if (node.left_parent < 0 && node.right_parent < 0)
|
||||
f << stringf("\"%s\"", node.inverter ? "false" : "true");
|
||||
f << stringf("\"%s\"", node.inverter ? "true" : "false");
|
||||
else
|
||||
f << stringf("\"%s\", %d, %d", node.inverter ? "nand" : "and", node.left_parent, node.right_parent);
|
||||
for (auto &op : node.outports)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue