2018-07-13 07:08:42 -05:00
|
|
|
bram $__TRELLIS_DPR16X4
|
|
|
|
init 1
|
|
|
|
abits 4
|
|
|
|
dbits 4
|
|
|
|
groups 2
|
|
|
|
ports 1 1
|
|
|
|
wrmode 0 1
|
|
|
|
enable 0 1
|
|
|
|
transp 0 0
|
|
|
|
clocks 0 1
|
|
|
|
clkpol 0 2
|
|
|
|
endbram
|
2018-07-13 09:25:52 -05:00
|
|
|
|
2020-01-01 02:27:47 -06:00
|
|
|
# The syn_* attributes are described in:
|
2021-08-29 04:45:23 -05:00
|
|
|
# https://www.latticesemi.com/view_document?document_id=51556
|
2020-01-01 02:27:47 -06:00
|
|
|
attr_icase 1
|
|
|
|
|
2018-07-13 09:25:52 -05:00
|
|
|
match $__TRELLIS_DPR16X4
|
2020-01-01 02:27:47 -06:00
|
|
|
attribute !syn_ramstyle syn_ramstyle=auto syn_ramstyle=distributed
|
|
|
|
attribute !syn_romstyle syn_romstyle=auto
|
|
|
|
attribute !ram_block
|
|
|
|
attribute !rom_block
|
|
|
|
attribute !logic_block
|
2018-07-13 09:25:52 -05:00
|
|
|
make_outreg
|
2018-10-01 12:34:41 -05:00
|
|
|
min wports 1
|
2018-07-13 09:25:52 -05:00
|
|
|
endmatch
|