2020-10-01 05:15:54 -05:00
|
|
|
read_verilog ../common/blockram.v
|
|
|
|
design -save read
|
|
|
|
|
|
|
|
# Check that we use the right dual and single clock variants
|
|
|
|
|
2022-02-07 20:52:50 -06:00
|
|
|
chparam -set ADDRESS_WIDTH 9 -set DATA_WIDTH 36 sync_ram_sdp
|
2020-10-01 05:15:54 -05:00
|
|
|
synth_nexus -top sync_ram_sdp
|
|
|
|
cd sync_ram_sdp
|
|
|
|
select -assert-count 1 t:PDPSC16K
|
|
|
|
select -assert-none t:PDPSC16K t:INV t:IB t:OB t:VLO t:VHI %% t:* %D
|
|
|
|
|
|
|
|
design -reset
|
|
|
|
read_verilog blockram_dc.v
|
2022-02-07 20:52:50 -06:00
|
|
|
chparam -set ADDRESS_WIDTH 9 -set DATA_WIDTH 36 sync_ram_sdp_dc
|
2020-10-01 05:15:54 -05:00
|
|
|
synth_nexus -top sync_ram_sdp_dc
|
|
|
|
cd sync_ram_sdp_dc
|
|
|
|
select -assert-count 1 t:PDP16K
|
|
|
|
select -assert-none t:PDP16K t:INV t:IB t:OB t:VLO t:VHI %% t:* %D
|