-
Notifications
You must be signed in to change notification settings - Fork 243
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
Verilator compile issues #68
Comments
|
I had the problem also for example in |
I see, but if one of the instances above is compiled before |
This was it, removing the global imports fixed the compile and simulation worked. See fixes in #70. |
Nice catch and fix! The compilation units in SV are really a pain. |
This can be closed now that #70 is merged, right? |
Yes #70 solved the compile issues, partially.
resolves the compile issue |
I am working on simulating the AXI4 code in Verilator and are running into a problem with the parameter types of the modules. The issue is the
parameter type resp_t = logic
definition in al modules. However renaming the definitions toparameter type rsp_t = logic
seems to not trigger the issue. I think the issue could be that inaxi_pkg
the parameterresp_t
is already defined and part of the response struct which is the parameter which has this problem.Should I do a fix for all modules, this will however break all other projects which are using the new AXI4 infrastructure currently.
Related to Verilator: In #43 there is in file
src/axi_dw_upsizer.sv
line 321 a struct definition forr_req_d
andr_req_q
inside a generate. Verilator complains about multiple type definitions.I was able to fix this by declaring a separate typedef outside the generate and defining the signals separate in the generate:
The text was updated successfully, but these errors were encountered: