-
Notifications
You must be signed in to change notification settings - Fork 0
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
"Quick'n'dirty FuseSoC+cocotb example" gives compile errors #3
Comments
One step futher. parameters DW, MSG_LEN and MSG_STR are indeed no part of vlog_tb_utils. Running the example with:
still gives compile errors:
However:
Gives a pass. However I got no VCD file. Which is obvious since this is taken care of in vlog_tb_utils. |
This was caused by a change in Icarus Verilog where a previous warning now is an error. I just filed steveicarus/iverilog#1137 in the hope that this can be downgraded to a warning again. We can add a workaround in the meantime, but they will be a bit more clunky compared to the current solution. Long term there should be syntax in FuseSoC to select which parameters that goes to which toplevel, but there are other things that are of higher priority to fix. A quick workaround is to change the toplevel line from I will come up with a better temporary workaround soon. |
I pushed some fixes now. Please let me know if those solve your issues. |
The fix works. Isn't it possible to have the vlog_tb_utils as an include file ? |
Yes, it could be an include file, but that's not how it is currently implemented. Either way, closing now. |
As wannabe fusesoc user I wanted to start of with the given FuseSoc+CoCoTb example. However I got compile errors.
Environment:
Installed packages via poetry:
I found that the parameters are defined "axis_send_packet.v"
What am I missing/doing wrong ?
br,
ST
The text was updated successfully, but these errors were encountered: