summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2015-07-30 21:43:41 +0200
committerClifford Wolf <clifford@clifford.at>2015-07-30 21:43:41 +0200
commit3860c9a9f23104bd54e0000b74624e45c77a8ab3 (patch)
tree86a217141408973d5e59894930a9a8872c047e39
parenteac0bcd7d34840ae29386d766659f6e70f1cf44d (diff)
Fixed flatten $meminit handling
-rw-r--r--passes/techmap/techmap.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/passes/techmap/techmap.cc b/passes/techmap/techmap.cc
index 1fb19fc6..1a16b6f4 100644
--- a/passes/techmap/techmap.cc
+++ b/passes/techmap/techmap.cc
@@ -311,7 +311,7 @@ struct TechmapWorker
port_signal_map.apply(it2.second);
}
- if (c->type == "$memrd" || c->type == "$memwr") {
+ if (c->type == "$memrd" || c->type == "$memwr" || c->type == "$meminit") {
IdString memid = c->getParam("\\MEMID").decode_string();
log_assert(memory_renames.count(memid));
c->setParam("\\MEMID", Const(memory_renames[memid].str()));