aboutsummaryrefslogtreecommitdiffstats
path: root/nexus/pack.cc
diff options
context:
space:
mode:
authorDavid Shah <dave@ds0.me>2020-10-22 15:11:12 +0100
committerDavid Shah <dave@ds0.me>2020-11-30 08:45:27 +0000
commite8e6316f887afa58c3d1476592ba0831353379a0 (patch)
tree03d1290c17457cc678b373b7b73497197df4183b /nexus/pack.cc
parent27ecaf3e88730f2e295345342cec864801dbd851 (diff)
downloadnextpnr-e8e6316f887afa58c3d1476592ba0831353379a0.tar.gz
nextpnr-e8e6316f887afa58c3d1476592ba0831353379a0.tar.bz2
nextpnr-e8e6316f887afa58c3d1476592ba0831353379a0.zip
nexus: EBR fixes
Signed-off-by: David Shah <dave@ds0.me>
Diffstat (limited to 'nexus/pack.cc')
-rw-r--r--nexus/pack.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/nexus/pack.cc b/nexus/pack.cc
index 2cef0687..abe963ba 100644
--- a/nexus/pack.cc
+++ b/nexus/pack.cc
@@ -1023,6 +1023,7 @@ struct NexusPacker
// Pseudo dual port
bram_rules[id_PDP16K_MODE].new_type = id_OXIDE_EBR;
bram_rules[id_PDP16K_MODE].set_params.emplace_back(id_MODE, std::string("PDP16K"));
+ bram_rules[id_PDP16K_MODE].set_params.emplace_back(id_WEAMUX, std::string("1"));
bram_rules[id_PDP16K_MODE].parse_params.emplace_back(id_CSDECODE_R, id_CSDECODE_R, 3, 7);
bram_rules[id_PDP16K_MODE].parse_params.emplace_back(id_CSDECODE_W, id_CSDECODE_W, 3, 7);
bram_rules[id_PDP16K_MODE].port_xform[id_CLKW] = id_CLKA;
@@ -1043,6 +1044,7 @@ struct NexusPacker
bram_rules[id_PDPSC16K_MODE] = bram_rules[id_PDP16K_MODE];
bram_rules[id_PDPSC16K_MODE].set_params.clear();
bram_rules[id_PDPSC16K_MODE].set_params.emplace_back(id_MODE, std::string("PDPSC16K"));
+ bram_rules[id_PDPSC16K_MODE].set_params.emplace_back(id_WEAMUX, std::string("1"));
bram_rules[id_PDPSC16K_MODE].port_multixform[id_CLK] = {id_CLKA, id_CLKB};
log_info("Packing BRAM...\n");