From 10f8b75dca82ad9aa665e1e4b599bda9258b831d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Marcelina=20Ko=C5=9Bcielnicka?= Date: Mon, 16 Aug 2021 12:31:01 +0200 Subject: [PATCH] kernel/mem: Remove old parameter when upgrading $mem to $mem_v2. Fixes #2967. --- kernel/mem.cc | 1 + 1 file changed, 1 insertion(+) 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); -- 2.30.2