aboutsummaryrefslogtreecommitdiffstats
path: root/frontends
diff options
context:
space:
mode:
authorEddie Hung <eddie@fpgeh.com>2020-01-09 10:02:19 -0800
committerEddie Hung <eddie@fpgeh.com>2020-01-09 10:02:19 -0800
commitd979648b7af4eb5fab042ac55ff2fb40e0c17a89 (patch)
treeeba045916d3cd40d29b173ad0f731179e1bd2acf /frontends
parent943ea4bf9ea34960bfce517450a8a466d1c54ed3 (diff)
downloadyosys-d979648b7af4eb5fab042ac55ff2fb40e0c17a89.tar.gz
yosys-d979648b7af4eb5fab042ac55ff2fb40e0c17a89.tar.bz2
yosys-d979648b7af4eb5fab042ac55ff2fb40e0c17a89.zip
read_aiger: more accurate debug message
Diffstat (limited to 'frontends')
-rw-r--r--frontends/aiger/aigerparse.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/frontends/aiger/aigerparse.cc b/frontends/aiger/aigerparse.cc
index ae16a9e9b..b4304a581 100644
--- a/frontends/aiger/aigerparse.cc
+++ b/frontends/aiger/aigerparse.cc
@@ -797,6 +797,7 @@ void AigerReader::post_process()
wire->port_input = false;
module->connect(wire, existing);
}
+ log_debug(" -> %s\n", log_id(escaped_s));
}
else if (index > 0) {
std::string indexed_name = stringf("%s[%d]", escaped_s.c_str(), index);
@@ -810,8 +811,8 @@ void AigerReader::post_process()
module->connect(wire, existing);
wire->port_input = false;
}
+ log_debug(" -> %s\n", log_id(indexed_name));
}
- log_debug(" -> %s\n", log_id(wire));
}
else if (type == "output") {
log_assert(static_cast<unsigned>(variable + co_count) < outputs.size());
@@ -833,6 +834,7 @@ void AigerReader::post_process()
module->connect(wire, existing);
wire = existing;
}
+ log_debug(" -> %s\n", log_id(escaped_s));
}
else if (index > 0) {
std::string indexed_name = stringf("%s[%d]", escaped_s.c_str(), index);
@@ -846,8 +848,8 @@ void AigerReader::post_process()
module->connect(wire, existing);
wire->port_output = false;
}
+ log_debug(" -> %s\n", log_id(indexed_name));
}
- log_debug(" -> %s\n", log_id(wire));
int init;
mf >> init;
if (init < 2)