lowRISC / lowRISC/opentitan

[tests] Enhance sram_ctrl tests to exercise all tests

Open
#28,565 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

The sram_ctrl tests manually exercise instances of sram_ctrl. The tests should be enhanced to automatically exercise all instances of sram_ctrl.

Possibly the sram_ctrl tests could be generalized to run on *all* the SRAM instead of hardcoding the set of srams to run on but that's not very urgent.

_Originally posted by @pamaury in https://github.com/lowRISC/opentitan/pull/28535#pullrequestreview-3375024800_

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 sram_ctrl test sources and inspect how instances are currently selected. Run the existing tests first, then make the selection exercise all sram_ctrl instances automatically; done means every instance is covered reliably without manually maintaining the set.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.