mirror of https://github.com/YosysHQ/yosys.git
Add another test
This commit is contained in:
parent
4158ce4eda
commit
378d9e6e0c
|
@ -84,7 +84,14 @@ design -reset
|
||||||
read_verilog ../common/blockram.v
|
read_verilog ../common/blockram.v
|
||||||
hierarchy -top sync_ram_sdp -chparam ADDRESS_WIDTH 8 -chparam DATA_WIDTH 1
|
hierarchy -top sync_ram_sdp -chparam ADDRESS_WIDTH 8 -chparam DATA_WIDTH 1
|
||||||
setattr -set ram_style "block" m:memory
|
setattr -set ram_style "block" m:memory
|
||||||
dump m:*
|
synth_xilinx -top sync_ram_sdp
|
||||||
|
cd sync_ram_sdp
|
||||||
|
select -assert-count 1 t:RAMB18E1
|
||||||
|
|
||||||
|
design -reset
|
||||||
|
read_verilog ../common/blockram.v
|
||||||
|
hierarchy -top sync_ram_sdp -chparam ADDRESS_WIDTH 8 -chparam DATA_WIDTH 1
|
||||||
|
setattr -set ram_block 1 m:memory
|
||||||
synth_xilinx -top sync_ram_sdp
|
synth_xilinx -top sync_ram_sdp
|
||||||
cd sync_ram_sdp
|
cd sync_ram_sdp
|
||||||
select -assert-count 1 t:RAMB18E1
|
select -assert-count 1 t:RAMB18E1
|
||||||
|
|
Loading…
Reference in New Issue