- Jan 20, 2023
-
-
Adam Izraelevitz authored
-
- Jan 19, 2023
-
-
Adam Izraelevitz authored
-
- Jan 12, 2023
-
-
Jack Koenig authored
We had implemented equals, but not hashCode. This commit also changes the implemental of equals to just use the underlying values instead of wasting the compute calling .toString. Delete TruthTable.sort, it is unused.
-
Chick Markley authored
* Change tests to use import circt.stage.ChiselStage instead of chisel3.stage.ChiselStage. These are the tests that are trivially done via emitChirrtl -> emitChirrtl emitFirrtl -> emitChirrtl emitVerilog -> emitSystemVerilog * scalafmt * Fixes for review comments
-
- Jan 11, 2023
-
-
Will Dietz authored
-
Jack Koenig authored
They are commonly used and if we were ever to change them, we will need to go through a deprecation process anyway. Note that the EnumAnnotations remain in chisel3.experimental because, like all Chisel annotation support, they are slated to be deprecated and removed.
-
- Jan 10, 2023
-
-
Ocean Shen authored
* Support generate structured decoder with DecodeTable * Add documentation for DecodeTable
-
Mike Urbach authored
This would previously end up throwing an exception later, when trying to create a component name and realizing that it was invalid. Instead, this detects Vec subaccesses early, and gives a more precise error and suggestion.
-
Scala Steward authored
Co-authored-by:mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
-
Jack Koenig authored
Instantiate is an experimental new API that provides a similar style of Module instantiation to Module(new MyModule), but using Definition and Instance under-the-hood to only elaborate Modules with the same parameters a single time.
-
Jack Koenig authored
ChiselEnums check if they should create annotations every time an instance of them is bound. Because so many annotations would be created, they check to see if an equivalent annotation has already been added to the annotations. Previously, this used a linear search of the annotations, now it uses a HashSet.
-
Scala Steward authored
-
- Jan 07, 2023
-
-
Jack Koenig authored
Fix lazy cloning and apply the optimization in more cases
-
Jack Koenig authored
-
Jack Koenig authored
-
Jack Koenig authored
Previously it used a calculation of whether a given Record (or Bundle) contained an "external reference", defined as any element with an _id less than the _id of the Record. This does not work for certain cases because it is not recursive and a child Record could itself contain an external reference. Changing the calculation to be recursive negates much of the benefit because many cases that should not need to clone end up cloning. The new algorithm instead uses a notion of "minimum id" for a Data. For most Data, this is just _id, but for Records, it is the minimum id of any of its children (recursively). This does replace the previous 1-byte memoized field with an 8-byte field, but this algorithm works better and should result in more savings from lazy cloning.
-
- Jan 06, 2023
-
-
Jack Koenig authored
-
- Jan 05, 2023
-
-
Jack Koenig authored
In cases when Flipped needs to clone, it was using the specified direction of the clone. Since cloneType does not propagate specifiedDirection, it was essentially always flipping an unspecified direction even if the direction had been specified.
-
- Jan 04, 2023
-
-
Adam Izraelevitz authored
-
- Dec 28, 2022
-
-
Chick Markley authored
-
- Dec 25, 2022
-
-
Megan Wachs authored
-
- Dec 21, 2022
-
-
Adam Izraelevitz authored
-
Daniel Resnick authored
-
- Dec 20, 2022
-
-
Jack Koenig authored
* Minor tweaks to setup-oss-cad-suite * Switch espresso installation to composite action * Switch circt installation to composite action
-
Adam Izraelevitz authored
* Added option to disable deprecation of SFC import using wConf
-
Jack Koenig authored
The YosysHQ Github Action for setting up the OSS CAD Suite is very flaky in CI so instead we can just wget and untar the suite ourselves. It also seems prudent to try out composite actions to avoid duplication of installation steps.
-
Schuyler Eldridge authored
Deprecate Fixed Point and Intervals
-
Schuyler Eldridge authored
Signed-off-by:Schuyler Eldridge <schuyler.eldridge@sifive.com>
-
Schuyler Eldridge authored
Signed-off-by:Schuyler Eldridge <schuyler.eldridge@sifive.com>
-
Schuyler Eldridge authored
Add a deprecation string that can be used for marking things that are deprecated due to the MLIR-based FIRRTL Compiler (MFC) migration. Do not use this anywhere (yet). Signed-off-by:Schuyler Eldridge <schuyler.eldridge@sifive.com>
-
- Dec 19, 2022
-
-
Schuyler Eldridge authored
[circt] Cleanup CIRCT error behavior
-
Schuyler Eldridge authored
Change all docs to use CIRCT in their mdoc regions. Everything worked without issue except for one weird mdoc region in hierarchy.md which I am not sure how it is even legal. This mdoc region has been disabled for now. Signed-off-by:Schuyler Eldridge <schuyler.eldridge@sifive.com>
-
Schuyler Eldridge authored
Improve the error message that trips if firtool is not found. Add a new exception and throw this when execution of the firtool process fails. This commit tries to narrowly only match on the exact condition that this failed due to firtool not being installed. Signed-off-by:Schuyler Eldridge <schuyler.eldridge@sifive.com>
-
- Dec 18, 2022
-
-
Schuyler Eldridge authored
Change the behavior of what happens if firtool returns a non-zero exit code from printing information to stdout to throwing an exception with this information in the body. This is done primarily to ease interoperability with mdoc. However, this is generally better principled than the previous behavior of scattering information in different mediums. Add a test of this behavior. Stop intercepting a file not found error if CIRCT fails to print this to stdout and wrap this in a StageError. It is better to just let the file not found exception through as this already includes all the information necessary to tell the user what the problem is. Do not test this behavior (as it is tedious to test). Signed-off-by:Schuyler Eldridge <schuyler.eldridge@sifive.com>
-
- Dec 17, 2022
-
-
Adam Izraelevitz authored
* Bugfix waiveEach not casting. Add waiveAllAs * Add implicit type constraints to connectable apis * Swapped order T =:= S for clearer error messages
-
Schuyler Eldridge authored
Signed-off-by:Schuyler Eldridge <schuyler.eldridge@sifive.com>
-
- Dec 14, 2022
-
-
Tynan McAuley authored
-
- Dec 10, 2022
-
-
Ocean Shen authored
* Fix BitSet decoder API when errorBit=False When errorBit is set to False, the original code will return `Unit` which will be `()` in interpolated string. * Add testcases for both errorBit cases in BitSetSpec -
Megan Wachs authored
-
Megan Wachs authored
* chisel-circt: pullin src/main/scala changes from 0.8.0 * chisel-circt: pullin src/test/scala changes from 0.8.0 * chisel-circt: bump circt verstion to match what is on 0.8.0
-