You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Following foo module causes SEGV while read_systemverilog command.
// bad.vmodulefoo
(
outputwire [1:0] out
);
function [1:0] func1(input [1:0] a);
reg [3:0] state[4];
integer i;
beginfor (i =0; i <4; i = i +1) begin
state[i] =2'b0;
state[i][i] =1'b1;
end
func1 = state[0] ^ a;
endendfunctionassign out =func1(2'd3);
endmodule
This is an output of read_systemverilog -I. -debug -dump_rtlil bad.v: log.txt
It seems that SEGV is caused by Synlig's simplify process because read_verilog can read successfully.
Environment
OS: Ubuntu 24.04 LTS
Synlig version: 10efd31 (installed from source)
The text was updated successfully, but these errors were encountered:
Following
foo
module causes SEGV whileread_systemverilog
command.This is an output of
read_systemverilog -I. -debug -dump_rtlil bad.v
:log.txt
It seems that SEGV is caused by Synlig's simplify process because
read_verilog
can read successfully.Environment
OS: Ubuntu 24.04 LTS
Synlig version: 10efd31 (installed from source)
The text was updated successfully, but these errors were encountered: