This commit is contained in:
Eddie Hung 2019-06-20 10:10:43 -07:00
parent 0221f3e1c5
commit b98276fa61
1 changed files with 24 additions and 0 deletions

24
tests/various/signext.ys Normal file
View File

@ -0,0 +1,24 @@
read_verilog -formal <<EOT
module gate(input clk, output [1:0] o);
assign o = 1'bx;
endmodule
EOT
## Example usage for "pmuxtree" and "muxcover"
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