mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-23 00:55:32 +00:00
select: Add -list-mod
option
This commit is contained in:
parent
8fb73e18ff
commit
7aa3fdab80
2 changed files with 22 additions and 3 deletions
13
tests/select/list_mod.ys
Normal file
13
tests/select/list_mod.ys
Normal file
|
@ -0,0 +1,13 @@
|
|||
read_verilog <<EOF
|
||||
module top1;
|
||||
(* foo *)
|
||||
wire w;
|
||||
endmodule
|
||||
|
||||
module top2;
|
||||
(* bar *)
|
||||
wire w;
|
||||
endmodule
|
||||
EOF
|
||||
logger -expect log top1 1
|
||||
select -list-mod a:foo %m
|
Loading…
Add table
Add a link
Reference in a new issue