3
0
Fork 0
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:
Martin Povišer 2024-10-16 11:43:26 +02:00
parent 8fb73e18ff
commit 7aa3fdab80
2 changed files with 22 additions and 3 deletions

13
tests/select/list_mod.ys Normal file
View 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