Expand test with `hierarchy' without -auto-top

This commit is contained in:
Eddie Hung 2019-09-03 12:17:26 -07:00
parent 8124716830
commit 0ca0706630
1 changed files with 7 additions and 0 deletions

View File

@ -13,8 +13,15 @@ module sub(input i, output o);
assign o = ~i;
endmodule
EOT
design -save read
hierarchy -auto-top
select -assert-any top
select -assert-any sub
select -assert-none foo
design -load read
hierarchy
select -assert-any top
select -assert-any sub
select -assert-none foo