3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2026-06-16 05:45:47 +00:00
yosys/tests/arch/ecp5/bug2731.ys
2026-06-12 15:27:48 +02:00

7 lines
268 B
Text

read_techlib -icells <<EOF
module top(input c, r, input [1:0] d, output reg [1:0] q);
TRELLIS_FF #(.REGSET("SET")) ff1(.CLK(c), .LSR(r), .DI(d[0]), .Q(q[0]));
TRELLIS_FF #(.REGSET("SET")) ff2(.CLK(c), .LSR(r), .DI(d[1]), .Q(q[1]));
endmodule
EOF
synth_ecp5 -abc9 -dff