lowRISC / lowRISC/opentitan

[dv] time based dumps?

Open
#15,361 11 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

should we consider adding dvsim options to control when dumps should turn on/off?
Some of the longer sims (especially those involving bootstrap), don't always have something interesting to debug until a certain point in time.

I took a look around, and i don't really if the right answer is to add another dvsim argument and pass it all the way through (as environment variables to sim.tcl?), or if there's a smarter way.

I'm honestly also fine with just hacking waves.tcl for now if that's a quick way to do 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 reviewing the existing dvsim options and the dump handling in waves.tcl, then trace how simulation settings reach sim.tcl, including the possible environment-variable path mentioned in the issue. The work is done when a simulation can control when dumps turn on and off by time without requiring a manual waves.tcl hack.

Written by the indexing model from the issue text.

Assessment

Domain
testing
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.