mirror of
https://github.com/YosysHQ/yosys
synced 2025-09-03 00:28:08 +00:00
Added ice40 bram support
This commit is contained in:
parent
11f77205f5
commit
d6f7698f59
4 changed files with 192 additions and 1 deletions
40
techlibs/ice40/brams.txt
Normal file
40
techlibs/ice40/brams.txt
Normal file
|
@ -0,0 +1,40 @@
|
|||
bram $__ICE40_RAM4K_M0
|
||||
init 0
|
||||
abits 8
|
||||
dbits 16
|
||||
groups 2
|
||||
ports 1 1
|
||||
wrmode 0 1
|
||||
enable 0 16
|
||||
transp 0 0
|
||||
clocks 2 3
|
||||
clkpol 2 3
|
||||
endbram
|
||||
|
||||
bram $__ICE40_RAM4K_M123
|
||||
init 0
|
||||
abits 9 @M1
|
||||
dbits 8 @M1
|
||||
abits 10 @M2
|
||||
dbits 4 @M2
|
||||
abits 11 @M3
|
||||
dbits 2 @M3
|
||||
groups 2
|
||||
ports 1 1
|
||||
wrmode 0 1
|
||||
enable 0 1
|
||||
transp 0 0
|
||||
clocks 2 3
|
||||
clkpol 2 3
|
||||
endbram
|
||||
|
||||
match $__ICE40_RAM4K_M0
|
||||
min efficiency 10
|
||||
make_transp
|
||||
or_next_if_better
|
||||
endmatch
|
||||
|
||||
match $__ICE40_RAM4K_M123
|
||||
min efficiency 10
|
||||
make_transp
|
||||
endmatch
|
Loading…
Add table
Add a link
Reference in a new issue