projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fc727fa
)
Add failing test
author
Eddie Hung
<eddie@fpgeh.com>
Thu, 29 Aug 2019 02:58:58 +0000
(19:58 -0700)
committer
Eddie Hung
<eddie@fpgeh.com>
Thu, 29 Aug 2019 02:58:58 +0000
(19:58 -0700)
tests/various/hierarchy_defer.ys
[new file with mode: 0644]
patch
|
blob
diff --git a/tests/various/hierarchy_defer.ys
b/tests/various/hierarchy_defer.ys
new file mode 100644
(file)
index 0000000..
170bb8c
--- /dev/null
+++ b/
tests/various/hierarchy_defer.ys
@@ -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