mirror of
https://github.com/zachjs/sv2v.git
synced 2026-09-03 07:53:00 +02:00
fix three typeof conversion issues
- type of strings are left implicit - type of implicitly-typed params uses the type of the default value - prevent exponential blowup for large ternary expressions
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
module top;
|
||||
parameter FOO = "some useful string";
|
||||
localparam type T = type(FOO);
|
||||
localparam T BAR = "some other useful string";
|
||||
initial $display("'%s' '%s'", FOO, BAR);
|
||||
endmodule
|
||||
Reference in New Issue
Block a user