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

[fuzzer]: Seemingly spurious assertion firing #1933

Open
grebe opened this issue Feb 15, 2025 · 0 comments
Open

[fuzzer]: Seemingly spurious assertion firing #1933

grebe opened this issue Feb 15, 2025 · 0 comments
Labels
fuzz simulator Related to simulating (System)Verilog.

Comments

@grebe
Copy link
Collaborator

grebe commented Feb 15, 2025

The fuzzer found a scenario with a continuous assertion seems to be spuriously firing. I thought it might be related to inlining expressions causing weird simulator event-ordering things to happen, but addressing that didn't seem to fix it. I'm going to add the crasher and file this issue to track the problem.

@grebe grebe changed the title Seemingly spurious assertion firing [fuzzer]: Seemingly spurious assertion firing Feb 15, 2025
copybara-service bot pushed a commit that referenced this issue Feb 19, 2025
This is probably paranoia, but it seems useful to be sure that if an assertion references a signal multiple times the reference should be resolved to the same value. Also, assertion predicates are referenced multiple times, so inline expressions can make assertions long and unreadable.

While we're in here, we refactor the assertion logic a bit so that op overrides cause assertions to be emitted for Verilog. They were previously unconditionally disabled, but now we only disable assertions if we're not using SystemVerilog AND we don't have a format string for assertions.

Ref: #1933.
PiperOrigin-RevId: 728423377
@proppy proppy added fuzz simulator Related to simulating (System)Verilog. labels Feb 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fuzz simulator Related to simulating (System)Verilog.
Projects
None yet
Development

No branches or pull requests

2 participants