mirror of
https://github.com/zachjs/sv2v.git
synced 2026-08-30 09:28:12 +02:00
- scoped traversals can now raise errors which contain the path of the current scope and an approximate source location based on preceding trace comments, if available - initially, this new error messaging has only been added for the illegal size cast checks in the TypeOf and Cast conversions - error suite tests can provide a verbose mode expected source location
7 lines
165 B
Systemverilog
7 lines
165 B
Systemverilog
// pattern: size cast width 0 is not a positive integer
|
|
// location: size_cast_zero_var.sv:5:13
|
|
module top;
|
|
wire x = 0;
|
|
initial $display((0)'(x));
|
|
endmodule
|