lowRISC / lowRISC/opentitan

[sival] `sleep_pin_wake` test should cover all pins in one run

Open
#29,055 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Component:SiliconValidation
Dominant language
SystemVerilog
Stars
3.6k
Forks
1.1k
Avg merge
2d 22h
Merged PRs (30d)
141

Description

The `sleep_pin_wake` test chooses a pin at random to test the pinmux's wakeup feature. We prefer sival tests to cover all cases so that they don't need to be run with multiple seeds.

Update this test to iterate over all pins and check the wakeup functionality.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Locate the `sleep_pin_wake` sival test and review how it currently selects a random pin for pinmux wakeup. Update the test to iterate over every pin and verify wakeup functionality for each one, then run the relevant sival test to confirm all pins are covered in one run.

Written by the indexing model from the issue text.

Assessment

Domain
embedded-iot, testing
Issue type
Refactor
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.