Skip to content

Conversation

seldridge
Copy link
Member

Add a randomization factory for using FIRRTL ABI randomization to set
everything to 'x. Unforuntately, this has no effect with Verilator and
will silently do nothing. Ergo, no test is provided.

Add a randomization factory for using FIRRTL ABI randomization to set
everything to `'x`.  Unforuntately, this has no effect with Verilator and
will silently do nothing.  Ergo, no test is provided.

Signed-off-by: Schuyler Eldridge <schuyler.eldridge@sifive.com>
@seldridge seldridge added the Feature New feature, will be included in release notes label May 26, 2025
@seldridge seldridge merged commit 2cb90ea into main May 26, 2025
17 of 18 checks passed
@seldridge seldridge deleted the dev/seldridge/chiselsim-add-x-randomization branch May 26, 2025 19:08
seldridge added a commit that referenced this pull request May 27, 2025
This reverts commit 2cb90ea.

After thinking about this commit more, there is no need to add an explicit
x randomization.  This is the same as the "uninitialized" randomization.
If this had an effect in Verilator, or there was some utility in doing a
non-random simulator randomization followed by an x initialization, then
this might make sense.  However, at this time, this doesn't do anything.

Signed-off-by: Schuyler Eldridge <schuyler.eldridge@sifive.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature New feature, will be included in release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant