blob: d304fa5770a8cf97320fcd6f3e6876ccc31d47b8 [file]
yosys -import
if { [info procs ql-qlf-k6n10f] == {} } { plugin -i ql-qlf }
yosys -import ;
read_verilog $::env(DESIGN_TOP).v
design -save bram_tdp
select BRAM_TDP_32x512
select *
synth_quicklogic -family qlf_k6n10f -top BRAM_TDP_32x512
opt_expr -undriven
opt_clean
stat
write_verilog bram_tdp_32x512_synth.v
select -assert-count 1 t:TDP_BRAM36
select -clear
design -load bram_tdp
select BRAM_TDP_16x1024
select *
synth_quicklogic -family qlf_k6n10f -top BRAM_TDP_16x1024
opt_expr -undriven
opt_clean
stat
write_verilog bram_tdp_16x1024_synth.v
select -assert-count 1 t:TDP_BRAM36
select -clear
design -load bram_tdp
select BRAM_TDP_8x2048
select *
synth_quicklogic -family qlf_k6n10f -top BRAM_TDP_8x2048
opt_expr -undriven
opt_clean
stat
write_verilog bram_tdp_8x2048_synth.v
select -assert-count 1 t:TDP_BRAM36
select -clear
design -load bram_tdp
select BRAM_TDP_4x4096
select *
synth_quicklogic -family qlf_k6n10f -top BRAM_TDP_4x4096
opt_expr -undriven
opt_clean
stat
write_verilog bram_tdp_4x4096_synth.v
select -assert-count 1 t:TDP_BRAM36