lowRISC / lowRISC/mocha

Warn if Verilator GPIO DPI model output[31] is toggled

Open
#585 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
SystemVerilog
Stars
38
Forks
21
Avg merge
2d 23h
Merged PRs (30d)
14

Description

The system GPIO input[31] line is connected to the microSD card detect feature of the Genesys 2 (FPGA) and SD card DPI model (Verilator), which means that in the Verilator testbench the GPIO DPI model output[31] line does not drive anything. Perhaps we want to add some logic to detect if someone attempts to toggle that line, and warn them that it will not do anything.

Contributor guide

No contributing guide indexed for this repository

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

Start in the Verilator testbench's GPIO DPI model and trace handling of output[31] alongside the SD card DPI model. Add a warning when that line is toggled, and verify the testbench reports it without changing other GPIO behavior.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.