3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-04-23 09:05:32 +00:00

Merge remote-tracking branch 'origin/eddie/fix1115' into xc7mux

This commit is contained in:
Eddie Hung 2019-06-20 10:18:10 -07:00
commit cdbcd2efbd
2 changed files with 22 additions and 1 deletions

21
tests/various/signext.ys Normal file
View file

@ -0,0 +1,21 @@
read_verilog -formal <<EOT
module gate(input clk, output [1:0] o);
assign o = 1'bx;
endmodule
EOT
proc
## Equivalence checking
read_verilog -formal <<EOT
module gold(input clk, output [1:0] o);
assign o = 2'bxx;
endmodule
EOT
proc
miter -equiv -flatten -make_assert -make_outputs gold gate miter
sat -verify -prove-asserts -show-ports -enable_undef miter