aboutsummaryrefslogtreecommitdiffstats
path: root/backends/aiger
diff options
context:
space:
mode:
authorEddie Hung <eddie@fpgeh.com>2020-01-11 17:28:24 -0800
committerEddie Hung <eddie@fpgeh.com>2020-01-11 17:28:24 -0800
commit295e241c074ae275e832fdde9fae6fd897170ac8 (patch)
tree16cb0845a92b9c8e2004e9489c23eb3fb506a19f /backends/aiger
parent7fa1b61aed27fefdee5fb4a2409145741b51eaab (diff)
downloadyosys-295e241c074ae275e832fdde9fae6fd897170ac8.tar.gz
yosys-295e241c074ae275e832fdde9fae6fd897170ac8.tar.bz2
yosys-295e241c074ae275e832fdde9fae6fd897170ac8.zip
cleanup
Diffstat (limited to 'backends/aiger')
-rw-r--r--backends/aiger/xaiger.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/aiger/xaiger.cc b/backends/aiger/xaiger.cc
index 212e1e561..93e0ebc8c 100644
--- a/backends/aiger/xaiger.cc
+++ b/backends/aiger/xaiger.cc
@@ -93,7 +93,6 @@ struct XAigerWriter
dict<SigBit, int> ordered_outputs;
vector<Cell*> box_list;
- dict<IdString, std::vector<IdString>> box_ports;
int mkgate(int a0, int a1)
{
@@ -277,6 +276,7 @@ struct XAigerWriter
//log_warning("Unsupported cell type: %s (%s)\n", log_id(cell->type), log_id(cell));
}
+ dict<IdString, std::vector<IdString>> box_ports;
for (auto cell : box_list) {
log_assert(cell);