mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-23 17:15:33 +00:00
synth_quicklogic: add -dspv2 to opt into v2 DSP blocks
This commit is contained in:
parent
370a033d4e
commit
c451d8ebb9
10 changed files with 4680 additions and 24 deletions
|
@ -12,7 +12,7 @@ module top(input signed [16:0] ar, input signed [16:0] ai, input signed [16:0] b
|
|||
endmodule
|
||||
EOF
|
||||
|
||||
synth_quicklogic -family qlf_k6n10f -run :coarse
|
||||
synth_quicklogic -family qlf_k6n10f -dspv2 -run :coarse
|
||||
check -assert
|
||||
read_verilog +/quicklogic/qlf_k6n10f/dsp_sim.v
|
||||
prep -top top -flatten
|
||||
|
|
|
@ -11,7 +11,7 @@ module top(input [16:0] a, input [16:0] b, output reg [33:0] o, input clk, input
|
|||
endmodule
|
||||
EOF
|
||||
|
||||
synth_quicklogic -family qlf_k6n10f -run :coarse
|
||||
synth_quicklogic -family qlf_k6n10f -dspv2 -run :coarse
|
||||
check
|
||||
opt_clean
|
||||
dump
|
||||
|
|
|
@ -5,7 +5,7 @@ module top(input [16:0] a, input [16:0] b, input [16:0] c, input [16:0] d, outpu
|
|||
endmodule
|
||||
EOF
|
||||
|
||||
synth_quicklogic -family qlf_k6n10f -run :coarse
|
||||
synth_quicklogic -family qlf_k6n10f -dspv2 -run :coarse
|
||||
read_verilog +/quicklogic/qlf_k6n10f/dsp_sim.v
|
||||
prep -top top -flatten
|
||||
opt_clean -purge
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue