Skip to content

Conversation

@seldridge
Copy link
Member

Add a new LayerControl.Disable type which allows for a variadic list of
layers to be disabled. This complements the other existing controls,
Enable(...), EnableAll, and DisableAll, particularly with the
addition of the new Temporal layers which you often want to only disable
for Verilator. This makes it easier to disable just those layers, as
opposed to having to remember all the layers that need to be enabled (and
having your test silently not enable new layers if they are created).

Release Notes

Add LayerControl.Disable to disable a variadic list of layers at simulator
compilation time.

Add a new `LayerControl.Disable` type which allows for a variadic list of
layers to be disabled.  This complements the other existing controls,
`Enable(...)`, `EnableAll`, and `DisableAll`, particularly with the
addition of the new `Temporal` layers which you often want to only disable
for Verilator.  This makes it easier to disable just those layers, as
opposed to having to remember all the layers that need to be enabled (and
having your test silently not enable new layers if they are created).

Signed-off-by: Schuyler Eldridge <[email protected]>
@seldridge seldridge added the Feature New feature, will be included in release notes label Sep 10, 2025
@seldridge seldridge merged commit 627867b into main Sep 10, 2025
15 checks passed
@seldridge seldridge deleted the dev/seldridge/LayerControl-Disable branch September 10, 2025 17:45
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.

2 participants