mirror of
https://github.com/YosysHQ/yosys
synced 2025-08-08 04:01:25 +00:00
anlogic: support BRAM mapping
Anlogic FPGAs all have two kinds of BRAMs, one is 9bit*1K when being true dual port (or 18bit*512 when simple dual port), the other is 16bit*2K. Supports mapping of these two kinds of BRAMs. 9Kbit BRAM in SDP mode and 32Kbit BRAM with 8bit width are not support yet. Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
This commit is contained in:
parent
60c3ea367c
commit
c2b7ad3b28
8 changed files with 283 additions and 2 deletions
|
@ -2,7 +2,7 @@ read_verilog ../common/lutram.v
|
|||
hierarchy -top lutram_1w1r
|
||||
proc
|
||||
memory -nomap
|
||||
equiv_opt -run :prove -map +/anlogic/cells_sim.v synth_anlogic
|
||||
equiv_opt -run :prove -map +/anlogic/cells_sim.v synth_anlogic -nobram
|
||||
memory
|
||||
opt -full
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue