chipsalliance / synlig

SystemVerilog synthesis tool
Apache License 2.0
170 stars 23 forks source link

Formal equiv diff common_logic.v #942

Closed alaindargelas closed 1 year ago

alaindargelas commented 2 years ago

Test: ./yosys/tests/arch/common/logic.v The trimmed down version of that test has 3 errors in the plugin code (Visible in the corresponding gate netlist):

module top
(
    input [0:7] in,
    output B3,B4
);
    assign B3 =  in[0] ~& in[1]; 
    assign B4 =  in[0] ~| in[1]; 
endmodule
alaindargelas commented 2 years ago

https://class.ece.uw.edu/cadta/verilog/operators.html

mandrys commented 2 years ago

Fixed by https://github.com/chipsalliance/yosys-f4pga-plugins/pull/394.

mandrys commented 1 year ago

Test added to formal verification passlist in PR #1331.