mirror of
https://github.com/YosysHQ/yosys
synced 2025-07-14 08:26:41 +00:00
anlogic: Use memory_libmap
pass.
This commit is contained in:
parent
d7dc2313b9
commit
f4d1426229
9 changed files with 566 additions and 284 deletions
|
@ -1,16 +1,12 @@
|
|||
bram $__ANLOGIC_DRAM16X4
|
||||
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 1
|
||||
endbram
|
||||
|
||||
match $__ANLOGIC_DRAM16X4
|
||||
make_outreg
|
||||
endmatch
|
||||
ram distributed $__ANLOGIC_DRAM16X4_ {
|
||||
abits 4;
|
||||
width 4;
|
||||
cost 4;
|
||||
init no_undef;
|
||||
prune_rom;
|
||||
port sw "W" {
|
||||
clock posedge;
|
||||
}
|
||||
port ar "R" {
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue