mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-23 00:55:32 +00:00
ABC9: Cell Port Bug Patch (#3670)
* ABC9: RAMB36E1 Bug Patch * Add simplified testcase * Also fix xaiger writer for under-width output ports * Remove old testcase * Missing top-level input port * Fix tabs --------- Co-authored-by: Eddie Hung <eddie@fpgeh.com>
This commit is contained in:
parent
7efc50367e
commit
8611429237
4 changed files with 26 additions and 2 deletions
13
tests/arch/xilinx/bug3670.v
Normal file
13
tests/arch/xilinx/bug3670.v
Normal file
|
@ -0,0 +1,13 @@
|
|||
module bug3670(input we, output [31:0] o1, o2, output o3);
|
||||
// Completely missing port connections, where first affected port
|
||||
// (ADDRARDADDR) has a $setup delay
|
||||
RAMB36E1 ram1(.DOADO(o1));
|
||||
|
||||
// Under-specified input port connections (WEA is 4 bits) which
|
||||
// has a $setup delay
|
||||
RAMB36E1 ram2(.WEA(we), .DOADO(o2));
|
||||
|
||||
// Under-specified output port connections (DOADO is 32 bits)
|
||||
// with clk-to-q delay
|
||||
RAMB36E1 ram3(.DOADO(o3));
|
||||
endmodule
|
3
tests/arch/xilinx/bug3670.ys
Normal file
3
tests/arch/xilinx/bug3670.ys
Normal file
|
@ -0,0 +1,3 @@
|
|||
read_verilog bug3670.v
|
||||
read_verilog -lib -specify +/xilinx/cells_sim.v
|
||||
abc9
|
Loading…
Add table
Add a link
Reference in a new issue