diff options
author | Clifford Wolf <clifford@clifford.at> | 2015-07-30 21:43:41 +0200 |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2015-07-30 21:43:41 +0200 |
commit | 3860c9a9f23104bd54e0000b74624e45c77a8ab3 (patch) | |
tree | 86a217141408973d5e59894930a9a8872c047e39 | |
parent | eac0bcd7d34840ae29386d766659f6e70f1cf44d (diff) | |
download | yosys-3860c9a9f23104bd54e0000b74624e45c77a8ab3.tar.gz yosys-3860c9a9f23104bd54e0000b74624e45c77a8ab3.tar.bz2 yosys-3860c9a9f23104bd54e0000b74624e45c77a8ab3.zip |
Fixed flatten $meminit handling
-rw-r--r-- | passes/techmap/techmap.cc | 2 |
1 files changed, 1 insertions, 1 deletions
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())); |