lowRISC / lowRISC/opentitan

Interacting with GPIO during Verlilator simulation

Open
#17,368 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Description

I am trying to run simulation using verilator with the bazel test command. After the simulation is started and when I am trying to pull some GPIO to high or low as mentioned in the documentation (using the FIFO Pipes) I always get an message prompt that "You are trying to pull an diasbled pin low/high". Could you please help me understand this?

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

Start by reading the documentation's FIFO Pipes section and the Verilator simulation invoked by the bazel test command. Search for the exact disabled-pin message and trace how GPIO enable state is configured before a FIFO pull. Done means determining whether the documented setup is incorrect and documenting or correcting the required setup so GPIO changes are accepted.

Written by the indexing model from the issue text.

Assessment

Domain
embedded-iot, testing-qa
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.