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
vcd trace splits packed data type when it comes through a typedef #1276
Comments
Original Redmine Comment I don't see this behavior. Please add to test_regress/t/t_trace_complex.v to show the problem. |
Original Redmine Comment Still awaiting a test case... Thanks |
Original Redmine Comment Closing as no test case, feel free to post one and reopen. |
Original Redmine Comment Sorry for the extremely delayed response. This is still affecting VCD output. I think I've distilled it to a much simpler test case. Structs are not actually necessary.
If I look in the vcd, I will see this:
|
Original Redmine Comment I don't see this. Are you sure you're using the most recent version? If so, please submit a complete test case in test_regress format. |
Original Redmine Comment Specifically I get:
|
Original Redmine Comment I'll try to pull the latest version and see what happens. It's been a while since I updated verilator. I'll update once I confirm. |
Author Name: Christopher Russell
Original Redmine Issue: 1276 from https://www.veripool.org
In our verilog code, we have something similar to the below typedef:
We then create both signal and structs using this typedef:
If I look at bar.field in the vcd file generated, it is split into 8 separate bits.
However, if I just create the struct like below:
I see what I expect in the vcd which is a unified 8 bit field.
Is there a way to recognize a typedef for the native bit, logic, reg, etc. and not cause this splitting?
The text was updated successfully, but these errors were encountered: