3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-07-31 08:23:19 +00:00

nexus: Use memory_libmap pass.

This commit is contained in:
Marcelina Kościelnicka 2022-02-08 03:52:50 +01:00
parent a04b025abf
commit 0a8eaca322
11 changed files with 661 additions and 501 deletions

View file

@ -1,22 +1,21 @@
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
ram huge $__NX_DPSC512K_ {
abits 14;
width 32;
byte 8;
cost 2048;
init no_undef;
port srsw "A" "B" {
clock posedge "C";
clken;
wrbe_separate;
rdwr no_change;
option "RESETMODE" "SYNC" {
rdsrst zero gated_clken;
}
option "RESETMODE" "ASYNC" {
rdarst zero;
}
rdinit zero;
wrtrans all old;
}
}