3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-08-31 15:24:57 +00:00

gowin: Use memory_libmap pass.

This commit is contained in:
Marcelina Kościelnicka 2022-02-09 09:25:45 +01:00
parent 0a8eaca322
commit e4d811561c
9 changed files with 565 additions and 255 deletions

View file

@ -1,17 +1,13 @@
bram $__GW1NR_RAM16S4
init 1
abits 4
dbits 4
groups 2
ports 1 1
wrmode 0 1
enable 0 1
transp 0 1
clocks 0 1
clkpol 0 1
endbram
match $__GW1NR_RAM16S4
make_outreg
min wports 1
endmatch
ram distributed $__GOWIN_LUTRAM_ {
abits 4;
width 4;
cost 4;
widthscale;
init no_undef;
prune_rom;
port sw "W" {
clock posedge;
}
port ar "R" {
}
}