3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-06-03 12:51:23 +00:00
yosys/tests/various/script.ys
2019-06-28 13:32:09 -07:00

17 lines
395 B
Text

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