Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERROR: Assert `size >= 1' failed in /root/synlig/synlig/frontends/systemverilog/uhdm_ast.cc:751. #2377

Open
yosyssyn opened this issue Mar 21, 2024 · 4 comments

Comments

@yosyssyn
Copy link

image
I am using the following commands to load the files:

Yosys 0.33 version
plugin -i systemverilog
read_systemverilog -defer file_name1.sv
.read_systemverilog -defer file_name2.sv
read_systemverilog -defer file_name3.sv
read_systemverilog -defer top.sv

read_systemverilog -link
when I am linking with above command, I am getting the ERROR: Assert `size >= 1' failed in /root/synlig/synlig/frontends/systemverilog/uhdm_ast.cc:751.

@alaindargelas
Copy link
Collaborator

All the warnings above the error are of great concern.
Please verify your design setup (Parameters).

@yosyssyn
Copy link
Author

hi
Thank you alaindargelas, I am trying to reevaluate the parameters from top file but the following error is coming
image

@alaindargelas
Copy link
Collaborator

alaindargelas commented Mar 26, 2024

Use read_systemverilog -P<name>=<value> .... rest of the command line

@yosyssyn
Copy link
Author

yosyssyn commented Apr 2, 2024

All the warnings above the error are of great concern. Please verify your design setup (Parameters).

The warning we are seeing is coming from one submodule where we just initialize the parameter later in top module we are assigning everything proper.
In previous project I followed the same but did not see any such issues

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants