The-OpenROAD-Project / OpenSTA

OpenSTA engine
GNU General Public License v3.0
389 stars 170 forks source link

Opensta flagging syntax error with yosys generated netlist #72

Closed SanishKoshi closed 3 years ago

SanishKoshi commented 3 years ago

my_approx_files.zip

Opensta is flagging a syntax error from yosys generated netlist. This is when I execute the read_verilog command. It seems that opensta cant handle and assignment with curly braces on the left side of an assign.

sta -version 2.2.0

% read_verilog my_approx_log2.v Error: my_approx_log2.v, line 57458 syntax error, unexpected '{', expecting ID. Error: my_approx_log2.v, line 57460 syntax error, unexpected '{', expecting ID. Error: my_approx_log2.v, line 57461 syntax error, unexpected '{', expecting ID.

The statement on Line 57458 of the netlist is
assign { 1494[3], 1494[1:0] } = { 1426[0], 1425[0], Add_out1[0] };

jjcherry56 commented 3 years ago

this was fixed in c13383fb issue#31 verilog concat assign