From: Marcelina Koƛcielnicka Date: Mon, 16 Aug 2021 10:31:01 +0000 (+0200) Subject: kernel/mem: Remove old parameter when upgrading $mem to $mem_v2. X-Git-Tag: yosys-0.10~36 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=10f8b75dca82ad9aa665e1e4b599bda9258b831d;p=yosys.git kernel/mem: Remove old parameter when upgrading $mem to $mem_v2. Fixes #2967. --- diff --git a/kernel/mem.cc b/kernel/mem.cc index ee6b8b6cf..b176e4057 100644 --- 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);