-
Notifications
You must be signed in to change notification settings - Fork 18
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
Dumping BRAM Contents in Simulation #31
Comments
I can think of two ways to do this.
LMK if that helps. |
Sounds useful. I guess I'm also wondering how to instantiate a BRAM - couldn't find any example for this. |
Also - before switching to RustHDL, I'm wondering if I can probe signals nested in a module hierarchy. VHDL and Verilog support for this is pretty cumbersome requiring "bubbling up" of probes. |
For the first one, I would suggest using the BRAM widget, as defined here. An example of logic using the BRAM is here. For the second - yes! RustHDL simulations are hierarchical, and support automatic inclusion of the entire hierarchy with no additional work on your part. I think if you run the integration tests, you get several examples of deeply nested VCDs you can examine. Note that this is slightly less true in |
Is there a way to dump BRAM contents during simulation? For example, I may want to step simulation one cycle, and then print BRAM contents - and repeat this process.
If this is possible, how might I go about it?
The text was updated successfully, but these errors were encountered: