projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
83c0f82
)
kernel/mem: Remove old parameter when upgrading $mem to $mem_v2.
author
Marcelina Kościelnicka
<mwk@0x04.net>
Mon, 16 Aug 2021 10:31:01 +0000
(12:31 +0200)
committer
Marcelina Kościelnicka
<mwk@0x04.net>
Mon, 16 Aug 2021 11:31:27 +0000
(13:31 +0200)
Fixes #2967.
kernel/mem.cc
patch
|
blob
|
history
diff --git
a/kernel/mem.cc
b/kernel/mem.cc
index ee6b8b6cf2a75f6213cee05a19ea7b6281bea404..b176e40575c0ca28540abc43dfc4b74c822865d1 100644
(file)
--- a/
kernel/mem.cc
+++ b/
kernel/mem.cc
@@
-202,6
+202,7
@@
void Mem::emit() {
cell->parameters[ID::RD_ARST_VALUE] = rd_arst_value;
cell->parameters[ID::RD_SRST_VALUE] = rd_srst_value;
cell->parameters[ID::RD_INIT_VALUE] = rd_init_value;
+ cell->parameters.erase(ID::RD_TRANSPARENT);
cell->setPort(ID::RD_CLK, rd_clk);
cell->setPort(ID::RD_EN, rd_en);
cell->setPort(ID::RD_ARST, rd_arst);