mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-24 06:43:41 +00:00
abc9: replace cell type/parameters if derived type already processed (#2991)
* Add close bracket * Add testcase * Replace cell type/param if in unmap_design * Improve abc9_box error message too * Update comment as per review
This commit is contained in:
parent
50be8fd0c2
commit
f03e2c30aa
3 changed files with 30 additions and 7 deletions
7
tests/arch/ecp5/bug2731.ys
Normal file
7
tests/arch/ecp5/bug2731.ys
Normal file
|
@ -0,0 +1,7 @@
|
|||
read_verilog -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
|
Loading…
Add table
Add a link
Reference in a new issue