lowRISC / lowRISC/opentitan

[sw] polling in ROM

Open
#6,220 10 comments 0 reactions 2 assignees View on GitHub

@moidx is already working on this.

Since Apr 20, 2021.

Component:Software Earlgrey-PROD Candidate Hotlist:Software Priority:P2 SW:ROM Type:FutureRelease
Dominant language
SystemVerilog
Stars
3.6k
Forks
1.1k
Avg merge
2d 22h
Merged PRs (30d)
141

Description

Certain setup routines (for example sram / flash scramble key request) require the ROM to make a hardware request and poll for its completion. Polling in ROM however, can be bad if the hardware underneath failed and the ROM just never gets out of the loop.

As a result, we should think a bit about what kind of polling-timeout scheme we want in ROM and how that should terminate in the event of a failure.

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.