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