aboutsummaryrefslogtreecommitdiffstats
path: root/ice40/pack.cc
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2018-06-16 15:25:03 +0200
committerClifford Wolf <clifford@clifford.at>2018-06-16 15:25:03 +0200
commit4d14bc291447ebc5b33d5d1972d5837f66efc88f (patch)
tree0bbca3b4b28190a0811e38d01920ab13059d8cac /ice40/pack.cc
parent6acf23cf37285e16050b44370be6cbe7dd3e0dc5 (diff)
parentef2164708b66b55300f46cc39467eb032498717e (diff)
downloadnextpnr-4d14bc291447ebc5b33d5d1972d5837f66efc88f.tar.gz
nextpnr-4d14bc291447ebc5b33d5d1972d5837f66efc88f.tar.bz2
nextpnr-4d14bc291447ebc5b33d5d1972d5837f66efc88f.zip
Merge remote-tracking branch 'origin/master' into chipdbng
Diffstat (limited to 'ice40/pack.cc')
-rw-r--r--ice40/pack.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/ice40/pack.cc b/ice40/pack.cc
index f4c024da..e045c05c 100644
--- a/ice40/pack.cc
+++ b/ice40/pack.cc
@@ -129,8 +129,8 @@ static void pack_ram(Design *design)
ci->name.str() + "_RAM");
packed_cells.insert(ci->name);
new_cells.push_back(packed);
- packed->params["READ_MODE"] = ci->params.at("READ_MODE");
- packed->params["WRITE_MODE"] = ci->params.at("WRITE_MODE");
+ for (auto param : ci->params)
+ packed->params[param.first] = param.second;
packed->params["NEG_CLK_W"] =
std::to_string(ci->type == "SB_RAM40_4KNW" ||
ci->type == "SB_RAM40_4KNRNW");