Add failing test

This commit is contained in:
Eddie Hung 2019-08-28 19:58:58 -07:00
parent fc727fa5c9
commit 1fdb3fc98c
1 changed files with 18 additions and 0 deletions

View File

@ -0,0 +1,18 @@
read -vlog2k <<EOT
module first;
endmodule
(* top *)
module top(input i, output o);
sub s0(i, o);
endmodule
module sub(input i, output o);
assign o = ~i;
endmodule
EOT
hierarchy -auto-top
select -assert-any top
select -assert-any sub
select -assert-none foo