yosys/tests/various/script.ys

21 lines
440 B
Plaintext
Raw Permalink Normal View History

2019-06-28 22:32:09 +02:00
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";
2019-06-28 22:41:32 +02:00
endmodule
module other;
2019-07-02 17:22:31 +02:00
wire [1023:0] _DELETE = "cd; delete c:bar";
2019-06-28 22:32:09 +02:00
endmodule
EOT
2019-07-02 17:19:23 +02:00
script -scriptwire w:_RUNME*
2019-06-28 22:32:09 +02:00
select w:_DELETE
2019-07-02 17:19:23 +02:00
script -scriptwire
2019-06-28 22:32:09 +02:00
select -assert-count 1 t:foo