$ vet apply --no-project -f design/design.f --top soc_top -s scripts/punch_refused.py --dry-run
punch_port probe: module 'timer' is elaborated 2 times (soc_top.u_periph.u_timer0, soc_top.u_periph.u_timer1) and a new port changes every instance; pass all_instances=True to connect them all
punch_port probe: module 'timer' is elaborated 2 times (soc_top.u_periph.u_timer0, soc_top.u_periph.u_timer1); an output cannot go through a shared module, several copies would drive one net
0 applied, 0 skipped
$ vet apply --no-project -f design/design.f --top soc_top -s scripts/punch.py -o out/punch
wrote out/punch
10 applied, 0 skipped
changed rtl/periph_wrap.sv
changed rtl/rst_sync.sv
changed rtl/soc_top.sv
changed rtl/timer.sv
$ cat out/punch/rtl/soc_top.sv
// Generated by a generator. Do not edit.
// Modified by hdl-vet; scripts: punch.py sha256:60c1b25f84ca

module soc_top (
  input  logic       clk_i,
  input  logic       rst_ni,
  input  logic [1:0] en_i,
  output logic [7:0] count0_o,
  output logic [7:0] count1_o,
  output logic       irq_o,
  output logic sync_rst_o,
  input  logic tick_i
);
  logic       rst_sync_n;
  logic [1:0] irq;

  rst_sync #(.STAGES(2)) u_rst_sync (
    .clk_i  (clk_i),
    .rst_ni (rst_ni),
    .test_i (1'b0),
    .rst_no (rst_sync_n),
    .sync_rst_o(sync_rst_o)
  );

  periph_wrap u_periph (
    .clk_i    (clk_i),
    .rst_ni   (rst_sync_n),
    .en_i     (en_i),
    .count0_o (count0_o),
    .count1_o (count1_o),
    .irq_o    (irq),
    .tick_i   (tick_i)
  );

  assign irq_o = |irq;
endmodule
