Expand test with `hierarchy' without -auto-top
authorEddie Hung <eddie@fpgeh.com>
Tue, 3 Sep 2019 19:17:26 +0000 (12:17 -0700)
committerEddie Hung <eddie@fpgeh.com>
Tue, 3 Sep 2019 19:17:26 +0000 (12:17 -0700)
tests/various/hierarchy_defer.ys

index baec52c9d43f6c278db2ba06d7974d62320f0bfe..70f5b70a3c18d0cea258838279c62f76e4bfcb4e 100644 (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