mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-07 09:55:20 +00:00
There are multiple other kinds of RAMs supported on these devices, but RAM16X1D is the only dual-port one. Fixes #1549
20 lines
228 B
Plaintext
20 lines
228 B
Plaintext
bram $__XILINX_RAM16X1D
|
|
init 1
|
|
abits 4
|
|
dbits 1
|
|
groups 2
|
|
ports 1 1
|
|
wrmode 0 1
|
|
enable 0 1
|
|
transp 0 0
|
|
clocks 0 1
|
|
clkpol 0 2
|
|
endbram
|
|
|
|
|
|
match $__XILINX_RAM16X1D
|
|
min bits 2
|
|
min wports 1
|
|
make_outreg
|
|
endmatch
|