diff options
author | Clifford Wolf <clifford@clifford.at> | 2013-03-03 21:19:55 +0100 |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2013-03-03 21:19:55 +0100 |
commit | bc8d94b4aeb43fd7cc6b77725bb379650a0575a3 (patch) | |
tree | ec34178961e33e8b4729eec62de0e9b5141ab212 /passes/extract/extract.cc | |
parent | 3ebc365c096ee062516bdbfd903fea14e4aa6185 (diff) |
Added "shared nodes" feature to the subcircuit library
Diffstat (limited to 'passes/extract/extract.cc')
-rw-r--r-- | passes/extract/extract.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/passes/extract/extract.cc b/passes/extract/extract.cc index 5c40e3ad..19a5b4c8 100644 --- a/passes/extract/extract.cc +++ b/passes/extract/extract.cc @@ -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); |