- Jan 10, 2023
-
-
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
-
- Dec 08, 2022
-
-
Jack Koenig authored
* Switch from deprecated setup-scala to setup-java * Switch from deprecated set-output to $GITHUB_OUTPUT * Use $GITHUB_STEP_SUMMARY for reporting
-
- Dec 07, 2022
-
-
Chick Markley authored
* Remove parenthesized forms of: `.unary_-()`, `.unary_%()`, `.unary_~()`, `.unary_!()`, `.orR()`, `.andR()`, `.xorR()`, `.zext()`, `.asBool()`, `.asBools()`, `.asSInt()`, `.asAsyncReset()`, `.asClock()`, `.isLit()`, `.litOption()`, `.litValue()`, `.abs()` * Remove protected `Data.bindingToString` * Remove `RawModule.getPorts` * Remove `._applyMacroWithMessage` in assert and assume * Remove `stop` that accepts non-zero return code * Remove public `WhenContext` constructor * Remove parenthesized `WhenContext.active()` * Remove `blacklistPackages`, `builderName`, and `chiselStackTrace` from `ChiselException` * Remove `MultiIOModule` (`Module` can have multiple `IOs`) * Remove `chisel3.getModulePorts` * Undo deprecation of `Data.flatten` which is package private and useful * Also remove all internal uses of these removed methods Co-authored-by:Jack Koenig <koenig@sifive.com>
-
- Dec 06, 2022
-
-
Jack Koenig authored
This allows build tools to warn users about possible binary incompatibility issues when using dependencies that depend on mutually incompatible versions of Chisel.
-
Jack Koenig authored
This means dropping Scala 2.12.4 support which is broken in Zinc newer than 1.6.0. Chisel users of Scala 2.12.4 should upgrade to 2.12.17.
-
Scala Steward authored
Co-authored-by:mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
-
Scala Steward authored
Co-authored-by:mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
-
Scala Steward authored
Co-authored-by:mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
-
Scala Steward authored
Co-authored-by:mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
-
Scala Steward authored
Co-authored-by:mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
-
Megan Wachs authored
-