mirror of
https://github.com/zachjs/sv2v.git
synced 2026-08-30 17:31:40 +02:00
- general refactoring in decl parsing - restrict charge strength to trireg - require const vars to be initialized - forbid const net declarations - disallow run-on declarations in packages and classes
10 lines
205 B
Systemverilog
10 lines
205 B
Systemverilog
// pattern: run_on_decl_package\.sv:3:16: Parse error: unexpected token in declaration
|
|
package P;
|
|
integer x, byte y;
|
|
localparam Z = 1;
|
|
endpackage
|
|
|
|
module top;
|
|
initial $display(P::Z);
|
|
endmodule
|