aboutsummaryrefslogtreecommitdiffstats
path: root/techlibs/ecp5/bram.txt
diff options
context:
space:
mode:
authorEddie Hung <eddie@fpgeh.com>2019-10-03 10:55:23 -0700
committerEddie Hung <eddie@fpgeh.com>2019-10-03 10:55:23 -0700
commit549d6ea467bddba24cc0ee43597b5ab62eb476e7 (patch)
treef33d1294939f4fcc6a7dc946d2c3d0d003f437e5 /techlibs/ecp5/bram.txt
parent655f1b2ac559f73a7d781ae25afd1ab3b898afc0 (diff)
parent2ed2e9c3e8f2d9d6882588857c8556a6e2af57ea (diff)
downloadyosys-549d6ea467bddba24cc0ee43597b5ab62eb476e7.tar.gz
yosys-549d6ea467bddba24cc0ee43597b5ab62eb476e7.tar.bz2
yosys-549d6ea467bddba24cc0ee43597b5ab62eb476e7.zip
Merge remote-tracking branch 'origin/master' into xaig_dff
Diffstat (limited to 'techlibs/ecp5/bram.txt')
-rw-r--r--techlibs/ecp5/bram.txt25
1 files changed, 24 insertions, 1 deletions
diff --git a/techlibs/ecp5/bram.txt b/techlibs/ecp5/bram.txt
index f223a42b8..777ccaa2e 100644
--- a/techlibs/ecp5/bram.txt
+++ b/techlibs/ecp5/bram.txt
@@ -1,3 +1,18 @@
+bram $__ECP5_PDPW16KD
+ init 1
+
+ abits 9
+ dbits 36
+
+ groups 2
+ ports 1 1
+ wrmode 1 0
+ enable 4 1
+ transp 0 0
+ clocks 2 3
+ clkpol 2 3
+endbram
+
bram $__ECP5_DP16KD
init 1
@@ -22,8 +37,16 @@ bram $__ECP5_DP16KD
clkpol 2 3
endbram
+match $__ECP5_PDPW16KD
+ min bits 2048
+ min efficiency 5
+ shuffle_enable A
+ make_transp
+ or_next_if_better
+endmatch
+
match $__ECP5_DP16KD
min bits 2048
min efficiency 5
- shuffle_enable B
+ shuffle_enable A
endmatch