From 3860c9a9f23104bd54e0000b74624e45c77a8ab3 Mon Sep 17 00:00:00 2001 From: Clifford Wolf Date: Thu, 30 Jul 2015 21:43:41 +0200 Subject: [PATCH] Fixed flatten $meminit handling --- passes/techmap/techmap.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/passes/techmap/techmap.cc b/passes/techmap/techmap.cc index 1fb19fc60..1a16b6f45 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())); -- 2.30.2