diff options
| author | Eddie Hung <eddie@fpgeh.com> | 2019-07-02 12:35:45 -0700 | 
|---|---|---|
| committer | Eddie Hung <eddie@fpgeh.com> | 2019-07-02 12:35:45 -0700 | 
| commit | 35fd9b04731d3bc944e1471b96668ef0cf7b51f1 (patch) | |
| tree | c92e962f36702b99f1934999d9656bb9a7c1a1b2 /tests/various | |
| parent | 69f4c039ce615c6a6c788e7b0da53e37467d32f6 (diff) | |
| parent | 8455d1f4ffb942c802b65e20748e54a123e08df0 (diff) | |
| download | yosys-35fd9b04731d3bc944e1471b96668ef0cf7b51f1.tar.gz yosys-35fd9b04731d3bc944e1471b96668ef0cf7b51f1.tar.bz2 yosys-35fd9b04731d3bc944e1471b96668ef0cf7b51f1.zip  | |
Merge remote-tracking branch 'origin/master' into xaig_dff
Diffstat (limited to 'tests/various')
| -rw-r--r-- | tests/various/script.ys | 20 | 
1 files changed, 20 insertions, 0 deletions
diff --git a/tests/various/script.ys b/tests/various/script.ys new file mode 100644 index 000000000..66b7b5caa --- /dev/null +++ b/tests/various/script.ys @@ -0,0 +1,20 @@ +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"; +    endmodule + +    module other; +        wire [1023:0] _DELETE = "cd; delete c:bar"; +    endmodule +EOT + +script -scriptwire w:_RUNME* + +select w:_DELETE +script -scriptwire +select -assert-count 1 t:foo  | 
