diff options
author | Eddie Hung <eddie@fpgeh.com> | 2019-08-28 19:58:58 -0700 |
---|---|---|
committer | Eddie Hung <eddie@fpgeh.com> | 2019-08-28 19:58:58 -0700 |
commit | 1fdb3fc98cdbd7126f07778397e3c334f45945df (patch) | |
tree | af47e590c0f3fd615a6815dbbaa37f49d0f0c0cf /tests | |
parent | fc727fa5c9e0a04a5dc1b4fcef652c5bca90b220 (diff) | |
download | yosys-1fdb3fc98cdbd7126f07778397e3c334f45945df.tar.gz yosys-1fdb3fc98cdbd7126f07778397e3c334f45945df.tar.bz2 yosys-1fdb3fc98cdbd7126f07778397e3c334f45945df.zip |
Add failing test
Diffstat (limited to 'tests')
-rw-r--r-- | tests/various/hierarchy_defer.ys | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/tests/various/hierarchy_defer.ys b/tests/various/hierarchy_defer.ys new file mode 100644 index 000000000..170bb8c5f --- /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 |