From: Clifford Wolf Date: Thu, 30 Jul 2015 19:43:41 +0000 (+0200) Subject: Fixed flatten $meminit handling X-Git-Tag: yosys-0.6~215 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3860c9a9f23104bd54e0000b74624e45c77a8ab3;p=yosys.git Fixed flatten $meminit handling --- 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()));