Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PSL assertions dumping in waves #1122

Open
Blebowski opened this issue Jan 6, 2025 · 1 comment
Open

PSL assertions dumping in waves #1122

Blebowski opened this issue Jan 6, 2025 · 1 comment

Comments

@Blebowski
Copy link
Contributor

Blebowski commented Jan 6, 2025

It would be handy to see PSL assertion state in waves, it improves debugability of PSL assertions.

I would dump each PSL assertion as one record of:

  1. PSL assertion state
    • Inactive - When no state of assertion FSM is active
    • Running - When a PSL assertion has an FSM state active that is not the accept state.
    • Covered - For cover assertions when they reach the final state.
    • Failed - For assert assertions in the cycle they fail (when they print the report).
  2. Count of "started" times. Incremented when a non-initial state is activated.
  3. Count of "failed" times for assert assertions
  4. Count of "covered" times for cover assertions.
@Blebowski
Copy link
Contributor Author

A simplified version would be without counters containing only the assertion state.
Some of this data would be needed though in the VHDL2019 Assert API.

The state could be displayed "as-if" a string with "red" background in the "failed"
state, "green" in the covered state and some other less distinctive colors for other
states. I dont know if this is feasible just via FST, I dont think so...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants