aboutsummaryrefslogtreecommitdiffstats
path: root/nexus
diff options
context:
space:
mode:
authorgatecat <gatecat@ds0.me>2021-03-30 11:56:07 +0100
committergatecat <gatecat@ds0.me>2021-03-30 11:56:07 +0100
commit7ae3f636ef2a11db991d95ec34ad30c10c8f3f64 (patch)
treed7badd06e6d234bb57cfa10b8a328794e9a88cbe /nexus
parenta6a92f6b6b586cdb6e300e00b2fcd0145925fff3 (diff)
downloadnextpnr-7ae3f636ef2a11db991d95ec34ad30c10c8f3f64.tar.gz
nextpnr-7ae3f636ef2a11db991d95ec34ad30c10c8f3f64.tar.bz2
nextpnr-7ae3f636ef2a11db991d95ec34ad30c10c8f3f64.zip
nexus: Fix LIFCL-17 LRAM FASM
Signed-off-by: gatecat <gatecat@ds0.me>
Diffstat (limited to 'nexus')
-rw-r--r--nexus/fasm.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/nexus/fasm.cc b/nexus/fasm.cc
index a68e524c..6ca5c9f3 100644
--- a/nexus/fasm.cc
+++ b/nexus/fasm.cc
@@ -638,6 +638,8 @@ struct NexusFasmWriter
{
BelId bel = cell->bel;
push_bel(bel);
+ if (is_lifcl_17)
+ write_bit("MODE.LRAM_CORE");
write_enum(cell, "ASYNC_RST_RELEASE", "SYNC");
write_enum(cell, "EBR_SP_EN", "DISABLE");
write_enum(cell, "ECC_BYTE_SEL", "BYTE_EN");