data/full_repos/permissive/143278/ivltests/sv_param_port_list.v
 line:3: before: "localparam"
data/verilator_xmls/df114277-7359-4fde-b744-76f974dd7758.xml
module top();

reg [3:0] a  = 'ha;
reg [4:0] b  = 'hb;
reg [5:0] c  = 'hc;

mod #(4, 6) m(a, b, c);

initial begin
  $display("%0d %0d %0d", m.A, m.B, m.C);
  $display("%0d %0d %0d", $bits(m.a), $bits(m.b), $bits(m.c));
  if (m.A === 4 && $bits(m.a) === 4
  &&  m.B === 5 && $bits(m.b) === 5
  &&  m.C === 6 && $bits(m.c) === 6)
    $display("PASSED");
  else
    $display("FAILED");
end

endmodule
module top();


reg [3:0] a  = 'ha;
reg [4:0] b  = 'hb;
reg [5:0] c  = 'hc;

mod #(4, 6) m(a, b, c);

initial begin
  $display("%0d %0d %0d", m.A, m.B, m.C);
  $display("%0d %0d %0d", $bits(m.a), $bits(m.b), $bits(m.c));
  if (m.A === 4 && $bits(m.a) === 4
  &&  m.B === 5 && $bits(m.b) === 5
  &&  m.C === 6 && $bits(m.c) === 6)
    $display("PASSED");
  else
    $display("FAILED");
end

endmodule