3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-09-04 09:07:42 +00:00

nexus: Add LRAM inference

Signed-off-by: David Shah <dave@ds0.me>
This commit is contained in:
David Shah 2020-12-07 13:27:17 +00:00
parent 264e924abb
commit 17812a1560
5 changed files with 227 additions and 1 deletions

22
techlibs/nexus/lrams.txt Normal file
View file

@ -0,0 +1,22 @@
bram $__NX_PDPSC512K
init 1
abits 14
dbits 32
groups 2
ports 1 1
wrmode 1 0
enable 4 1
transp 0 0
clocks 2 2
clkpol 2 2
endbram
match $__NX_PDPSC512K
# explicitly requested LRAM only, due to limited availability and
# slower Fmax
attribute lram
shuffle_enable A
make_transp
endmatch