mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-23 09:05:32 +00:00
Added "shared nodes" feature to the subcircuit library
This commit is contained in:
parent
3ebc365c09
commit
bc8d94b4ae
4 changed files with 14 additions and 9 deletions
|
@ -52,10 +52,10 @@ namespace
|
|||
}
|
||||
|
||||
if (constports) {
|
||||
graph.createNode("$const$0", "$const$0");
|
||||
graph.createNode("$const$1", "$const$1");
|
||||
graph.createNode("$const$x", "$const$x");
|
||||
graph.createNode("$const$z", "$const$z");
|
||||
graph.createNode("$const$0", "$const$0", NULL, true);
|
||||
graph.createNode("$const$1", "$const$1", NULL, true);
|
||||
graph.createNode("$const$x", "$const$x", NULL, true);
|
||||
graph.createNode("$const$z", "$const$z", NULL, true);
|
||||
graph.createPort("$const$0", "\\Y", 1);
|
||||
graph.createPort("$const$1", "\\Y", 1);
|
||||
graph.createPort("$const$x", "\\Y", 1);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue