From c028f251585b1e42a7c493afb4b428408daa47c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Povi=C5=A1er?= Date: Thu, 21 Dec 2023 10:22:52 +0100 Subject: [PATCH] lattice: Disable broken port configuration in bram inference --- techlibs/lattice/brams_8kc.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/techlibs/lattice/brams_8kc.txt b/techlibs/lattice/brams_8kc.txt index 3afbeda07..f254c46aa 100644 --- a/techlibs/lattice/brams_8kc.txt +++ b/techlibs/lattice/brams_8kc.txt @@ -32,6 +32,10 @@ ram block $__PDPW8KC_ { cost 64; init no_undef; port sr "R" { + # width 2 cannot be supported because of quirks + # of the primitive, and memlib requires us to + # remove width 1 as well + width 4 9 18; clock posedge; clken; option "RESETMODE" "SYNC" {