lowRISC / lowRISC/opentitan

[i2c,dv] Verify interrupts in scoreboard

Open
#18,980 0 comments 0 reactions 0 assignees View on GitHub
Component:DV Earlgrey-PROD Candidate IP:i2c Priority:P3 Type:Icebox
Dominant language
SystemVerilog
Stars
3.6k
Forks
1.1k
Avg merge
2d 22h
Merged PRs (30d)
141

Description

### Description

Gather all interrupt verification in the I2C scoreboard instead of distribute in the different test sequences.

This issue is based on a DV TODO:
https://github.com/lowRISC/opentitan/blob/fd6c80ba801bea6aaa1e96bb16e006c386a74497/hw/ip/i2c/dv/env/i2c_scoreboard.sv#L322

I have marked this issue as icebox because it is a nice-to-have. Although it would be better to monitor the interrupts in the scoreboard, the current distributed approach also works.

Contributor guide

Open the contributing guide

Research direction

Start with hw/ip/i2c/dv/env/i2c_scoreboard.sv around the TODO at line 322, then inspect the existing interrupt checks in the test sequences. Done means interrupt verification is gathered in the I2C scoreboard rather than distributed across those sequences, while preserving the currently working behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
embedded-iot
Domain
embedded-iot, testing-qa
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.