diff options
author | Eddie Hung <eddie@fpgeh.com> | 2019-06-28 13:32:09 -0700 |
---|---|---|
committer | Eddie Hung <eddie@fpgeh.com> | 2019-06-28 13:32:09 -0700 |
commit | 2c6aaef3db87fe7955eded675fac452705e5cd48 (patch) | |
tree | 681b1f17746ac7488e1a57235b96469d202dbc78 | |
parent | b3f162e94e61f739b84d8c6b31f203119805b2fb (diff) | |
download | yosys-2c6aaef3db87fe7955eded675fac452705e5cd48.tar.gz yosys-2c6aaef3db87fe7955eded675fac452705e5cd48.tar.bz2 yosys-2c6aaef3db87fe7955eded675fac452705e5cd48.zip |
Add test
-rw-r--r-- | tests/various/script.ys | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/various/script.ys b/tests/various/script.ys new file mode 100644 index 000000000..6044ad9b3 --- /dev/null +++ b/tests/various/script.ys @@ -0,0 +1,17 @@ +read_verilog -formal <<EOT + module top; + foo bar(); + foo asdf(); + winnie the_pooh(); + + wire [1023:0] _RUNME0 = "select -assert-count 2 t:foo"; + wire [1023:0] _RUNME1 = "select -assert-count 1 t:winnie"; + wire [1023:0] _DELETE = "delete c:bar"; + endmodule +EOT + +script -select w:_RUNME* + +select w:_DELETE +script -select +select -assert-count 1 t:foo |