Skip to content

Conversation

seldridge
Copy link
Member

Factor out prerequisite pieces from: #4699

I need to go muck with Layer Control to fix #4676 and want to work on the latest version of this.

Release Notes

Add ChiselSettings class for controlling Chiselsim simulations.

Add a new case class, `ChiselSettings`, which will be the main structure
for configuring the Chisel/FIRRTL/Verilog ABI parts of a simulation.
While this may overlap with common compilation settings or backend
compilation settings, this is intended to provide the Chisel user view of
these as opposed to exposign the low-level details of the latter two.

Currently, this only includes layer control.  This is part of a patch
series that will replace existing arguments of layer control type to use
this new Chisel settings structure.  In later patches, new members will be
added to Chisel settings.

Signed-off-by: Schuyler Eldridge <schuyler.eldridge@sifive.com>
Change SimulatorAPI methods to use the ChiselSettings class instead of
directly communicating layerControl.  This will enable us to lump together
more options that all are associated with Chisel/FIRRTL/the Verilog ABI.

Signed-off-by: Schuyler Eldridge <schuyler.eldridge@sifive.com>
@seldridge seldridge added the Feature New feature, will be included in release notes label Feb 19, 2025
Copy link
Contributor

@jackkoenig jackkoenig left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

Layer control as an argument to the simulate functions has never been released right? So there's no reason to provide the old methods as deprecated?

@seldridge
Copy link
Member Author

seldridge commented Feb 19, 2025

Exactly, never released. I'll deal with the fallout internally to get this converted over in the next Chisel bump.

@seldridge seldridge enabled auto-merge (squash) February 19, 2025 19:42
@seldridge seldridge merged commit 8e6b58b into main Feb 19, 2025
16 of 17 checks passed
@seldridge seldridge deleted the dev/seldridge/switch-to-ChiselSettings branch February 19, 2025 19:55
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.

[chiselsim] Exclude Extract Layers from Compilation if not Enabled
2 participants