kernel/mem: Remove old parameter when upgrading $mem to $mem_v2.

Fixes #2967.
This commit is contained in:
Marcelina Kościelnicka 2021-08-16 12:31:01 +02:00
parent 83c0f82dc8
commit 10f8b75dca
1 changed files with 1 additions and 0 deletions

View File

@ -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);