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

[Verilator] AST not instantiated in chip_earlgrey_verilator #6656

Closed
sriyerg opened this issue May 21, 2021 · 3 comments
Closed

[Verilator] AST not instantiated in chip_earlgrey_verilator #6656

sriyerg opened this issue May 21, 2021 · 3 comments
Labels
Milestone

Comments

@sriyerg
Copy link
Contributor

sriyerg commented May 21, 2021

This is probably already known, but filing an issue nevertheless because it impacts what tests can be run on Verilator. For example, pwrmgr relies on interactions with AST to get into low power mode. Hopefully we can use this to document a path forward.

sriyerg pushed a commit to sriyerg/opentitan that referenced this issue May 21, 2021
- For bootrom, use the `.scr.40.vmem` image.
- Update / add other test entries
- Increase wakeup threshold for pwrmgr test
- Add pwrmgr test to DVSim as well as pytest versions of running
Verilator sims.
  - It does not work on Verilator yet due to lowRISC#6656, so its commented
  out.

Signed-off-by: Srikrishna Iyer <[email protected]>
sriyerg pushed a commit that referenced this issue May 21, 2021
- For bootrom, use the `.scr.40.vmem` image.
- Update / add other test entries
- Increase wakeup threshold for pwrmgr test
- Add pwrmgr test to DVSim as well as pytest versions of running
Verilator sims.
  - It does not work on Verilator yet due to #6656, so its commented
  out.

Signed-off-by: Srikrishna Iyer <[email protected]>
@msfschaffner
Copy link
Contributor

Yes this is a known issue.
The Verilator TB is not fully aligned with the ASIC TB environment.
See also:

@tjaychen
Copy link

this one should be working for now.
I added some minor fixes in the tb such that pwrmgr can go into sleep and power up (needed for another test on verilator).
The underlying issue still isn't solved, but pwrmgr_smoke can at least run.

@tjaychen tjaychen added this to the Project: M3 milestone May 11, 2022
@tjaychen
Copy link

since ast is now already part of chip_earlgrey_verilator, i think this can be closed down.
There are separate issues tracking the convergence of the chip level template to support asic / fpga / verilator.

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

No branches or pull requests

3 participants