lowRISC / lowRISC/opentitan

//sw/device/tests:chip_power_sleep_load_sim_verilator hangs

Open
#16,734 8 comments 0 reactions 0 assignees View on GitHub
Earlgrey-PROD Candidate Priority:P1 Triaging:MultipleBlocks
Dominant language
SystemVerilog
Stars
3.6k
Forks
1.1k
Avg merge
2d 22h
Merged PRs (30d)
141

Description

This PR affects a verilator test that times out.

Test appears to stop making progress after printing:
```
I00006 chip_power_sleep_load.c:338] PWM active
```

Maybe the OTP isn't properly configured for the verilator test and otp_ctrl is hanging?
Or maybe it's getting configured and servicing the checks is preventing the test from making progress?

_Originally posted by @drewmacrae in https://github.com/lowRISC/opentitan/issues/16541#issuecomment-1343165772_

Contributor guide

Open the contributing guide

Research direction

Reproduce //sw/device/tests:chip_power_sleep_load_sim_verilator and confirm that it stops after the “PWM active” message at chip_power_sleep_load.c:338. Inspect the Verilator test’s OTP configuration and whether servicing the checks prevents progress. Done means the test completes without timing out.

Written by the indexing model from the issue text.

Assessment

Domain
embedded-iot, testing
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.