3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-08-18 17:22:17 +00:00

qlf_k6n10f: Start tests

This commit is contained in:
Martin Povišer 2025-02-20 11:30:09 +01:00
parent e1074e0e4e
commit 370a033d4e
3 changed files with 52 additions and 0 deletions

View file

@ -0,0 +1,12 @@
read_verilog <<EOF
module top(input [16:0] a, input [16:0] b, input [16:0] c, input [16:0] d, output reg [33:0] o);
always @(*)
o <= (a * b) + (c * d);
endmodule
EOF
synth_quicklogic -family qlf_k6n10f -run :coarse
read_verilog +/quicklogic/qlf_k6n10f/dsp_sim.v
prep -top top -flatten
opt_clean -purge
dump