mirror of
https://github.com/zachjs/sv2v.git
synced 2026-08-29 17:17:44 +02:00
- variable-size string parameter conversion restricted to modules which depend on the size of the string parameter - string localparams are typed as appropriately sized vectors - remove ordered parameter binding logic from string param conversion
11 lines
245 B
Systemverilog
11 lines
245 B
Systemverilog
module other;
|
|
parameter STR = "missing";
|
|
initial $display("other: STR=%s $bits(STR)=%0d", STR, $bits(STR));
|
|
endmodule
|
|
|
|
module mod;
|
|
parameter STR = "missing";
|
|
initial $display("mod: STR=%s", STR);
|
|
other #("HI") m();
|
|
endmodule
|