- Mar 01, 2023
-
-
Adam Izraelevitz authored
A number of deprecated features are removed from Chisel. This includes the following: - Interval types - FixedPoint types - Chisel compatibility module (import Chisel._) Co-authored-by:
Adam Izraelevitz <adam.izraelevitz@sifive.com> Signed-off-by:
Schuyler Eldridge <schuyler.eldridge@sifive.com>
-
Schuyler Eldridge authored
Change the Scala build to use the FIRRTL subproject that was just brought in-tree. This removes the dependency of Chisel on the published version of FIRRTL. This work is done in preparation to remove the Scala-based FIRRTL Compiler (SFC) from Chisel. Signed-off-by:
Schuyler Eldridge <schuyler.eldridge@sifive.com> Co-authored-by:
Adam Izraelevitz <adam.izraelevitz@sifive.com>
-
Jack Koenig authored
[chisel5] git subtree add FIRRTL
-
- Feb 28, 2023
-
-
Schuyler Eldridge authored
git-subtree-dir: firrtl git-subtree-mainline: 9f416dda git-subtree-split: 6a999e30
-
Chick Markley authored
* Get rid of warnings in / doc build Many `[[...]]` dont work so replace with back-ticks Printable docs are very problematic, use Warning suppression for those * Enable fatal warnings in CI for ScalaDoc generation Co-authored-by:Jack Koenig <koenig@sifive.com>
-
Jack Koenig authored
-
- Feb 25, 2023
-
-
Jack Koenig authored
This includes new command-line option --source-root which allows the user of Chisel to point to one or more root directories for source files. If no --source-root arguments are provided, it will default to using "." which should work for typical SBT and Mill projects.
-
- Feb 24, 2023
-
-
Albert Chen authored
-
- Feb 23, 2023
-
-
Huang Rui authored
- Use regular expressions to get version strings more rigorously - Add version discriminant function, you can compare version size - Correct the version comparison of antlr under special conditions - Improve the version comparison of protoc Signed-off-by:Huang Rui <vowstar@gmail.com>
-
Aditya Naik authored
-
Chick Markley authored
Flag is `-DdisableFatalWarnings` Add flag to a number of places in build.sbt Also check ScalaDoc generation in CI
-
- Feb 18, 2023
-
-
Chick Markley authored
* In BoringUtils replace deprecated SyncVar with BuilderContextCache * Handle potential in-exhaustive match error * Changes lines to linesIterator to fix deprecation warning * Change build.sbt to make fatal warnings error come after suppressed warnings
-
Schuyler Eldridge authored
Fix a bug where "--split-verilog" was not properly passed into the CIRCTOptions struct. Add a test to lock in the correct behavior. Signed-off-by:Schuyler Eldridge <schuyler.eldridge@sifive.com>
-
Schuyler Eldridge authored
Deprecate ProtoBufFileFormat and warn if a user is doing Protobuf emission. This will be ripped out in Chisel 5. Signed-off-by:Schuyler Eldridge <schuyler.eldridge@sifive.com>
-
- Feb 17, 2023
-
-
Schuyler Eldridge authored
Remove an unnecessary "currentState" argument when constructing the internal PhaseManager of CIRCTStage. This is no longer necessary given that CIRCTState doesn't have to interoperate with SFC in any way. This enables removal of this phase on the chisel5 branch. Signed-off-by:
Schuyler Eldridge <schuyler.eldridge@sifive.com> Co-authored-by:
mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
-
Schuyler Eldridge authored
Remove a bunch of unnecessary code that depends on SFC features from the AnnotatingDiamondSpec. Signed-off-by:Schuyler Eldridge <schuyler.eldridge@sifive.com>
-
Schuyler Eldridge authored
Add an option to "circt.stage.ChiselStage", "--split-verilog", which replaces the janky "firrt.EmitAllModulesAnnotation" method of generating one-file-per-module output and output file splitting in "firtool". Leave in the old behavior as a run-time warning until this gets removed sometime after the Chisel 5 release. Signed-off-by:Schuyler Eldridge <schuyler.eldridge@sifive.com>
-
Schuyler Eldridge authored
Deprecate CIRCTStage and CIRCTMain. These are stage-based wrappers around just running firtool that are roughly equivalent to FirrtlStage and FirrtlMain that did this for the SFC. These do not have users and it is unclear why these should persist given that circt.stage.ChiselStage subsumes almost all use cases (going Chisel to Verilog or Chisel to CHIRRTL and then using the build system to go from CHIRRTL to Verilog). Signed-off-by:Schuyler Eldridge <schuyler.eldridge@sifive.com>
-
Schuyler Eldridge authored
Remove an unnecessary optionalPrerequisite of CIRCTStage on the SFC Compiler phase. This is entirely unnecessary given that there is no longer an SFC -> MFC handoff path within CIRCT-based Chisel compilation flows. Signed-off-by:Schuyler Eldridge <schuyler.eldridge@sifive.com>
-
- Feb 16, 2023
-
-
Schuyler Eldridge authored
Deprecate this Annotation/Option which is only used by chisel3.stage.ChiselStage. An equivalent effect can be had with the emitCHIRRTL method of the ChiselStage$ object or using the "--target chirrtl" option of the ChiselStage class. Signed-off-by:
Schuyler Eldridge <schuyler.eldridge@sifive.com> Co-authored-by:
mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
-
Schuyler Eldridge authored
Modify tests, other than ChiselStageSpec, to all use circt.stage.ChiselStage and not chisel3.stage.ChiselStage. This paves the way for the deletion of the latter in Chisel 5. Note: there is one bug in the Trace API resulting in a commented out test. This is tracked with this CIRCT issue: - https://github.com/llvm/circt/issues/4661 Signed-off-by:
Schuyler Eldridge <schuyler.eldridge@sifive.com>
-
Jared Barocsi authored
-
Chick Markley authored
* Use InstanceKeyGraph instead of InstanceGraph * Get rid of use of experimental.IO * Symbol("s") instead of 's * .toOption.get instead of .right.get * No need to mix in AutoCloneType * fromUnescaped instead of fir.StringLit * MutableRenameMap instead of RenameMap * Remove checkScalaVersion * More use empty parens on method calls that need them * getDeclaredConstructor().newInstance() not .newInstance() * Erasure fixes * () needed for some methods * use object BackendUtilities * use proper ChiselEnum * use proper SourceInfo * fix possible match errors * use proper InstanceId * use proper requireIsHardware * processEscapes instead of treatEscapes * use @nowarn() on things we are not able to fix in code at this time Add TODO comments to revisit these issues --------- Co-authored-by:Jack Koenig <koenig@sifive.com>
-
Schuyler Eldridge authored
Copy relevant tests about chisel3.stage.ChiselStageSpec into circt.stage.ChiselStageSpec. This covers cases related to exception handling and error reporting. All other tests are already duplicated. This is done in preparation to remove chisel3.stage.ChiselStage on the chisel5 branch. (!!!) Signed-off-by:Schuyler Eldridge <schuyler.eldridge@sifive.com>
-
Jack Koenig authored
* Fix :<>= for Wires of Flipped OpaqueTypes * Change ConnectableSpec to use circt.stage.ChiselStage
-
Schuyler Eldridge authored
Cause the ChiselCircuitAnnotation (which is Unserializable and will be dropped) to be passed through the CIRCT phase. This is necessary to enable certain D/I use cases where an ImportDefinitionAnnotation is constructed from a ChiselCircuitAnnotation returned from a prior ChiselStage invocation. Signed-off-by:Schuyler Eldridge <schuyler.eldridge@sifive.com>
-
Schuyler Eldridge authored
Make ImportDefinitionAnnotation and DesignAnnotation pass around the firtool call in the CIRCT phase so that these can be used by later Chisel elaborations which may chain off of an initial ChiselStage call. (This is a frequent pattern in D/I and is used in SeparableElaborationSpec.) Signed-off-by:Schuyler Eldridge <schuyler.eldridge@sifive.com> Make this passthrough along with DesignAnnotation.
-
Schuyler Eldridge authored
Remove the dependency of circt.stage.ChiselStage on chisel3.stage.ChiselStage. Remove the internal call to ChiselStage and instead directly construct a PhaseManager that uses the target phases of ChiselStage directly. Add a new argument type to the existing "--target" option of circt.stage.ChiselStage, "chirrtl", to indicate that specification FIRRTL (in the specification textual format and not MLIR) should be produced. Use this new option to migrate two methods of ChiselStage$, emitCHIRRTL and convert, away from using a call to chisel3.stage.ChiselStage. Add tests of the new option, emitCHIRRTL, and convert. Simplify an existing test that erroneously fails with the new elaborate. Signed-off-by:Schuyler Eldridge <schuyler.eldridge@sifive.com>
-
- Feb 15, 2023
-
-
Jack Koenig authored
Builder ContextCache
-
Jack Koenig authored
-
Jack Koenig authored
-
Jack Koenig authored
-
Jack Koenig authored
-
Schuyler Eldridge authored
Deprecated chisel3.util.experimental.group since Chisel 3.6 as this is an API unsupported by the MFC. Signed-off-by:Schuyler Eldridge <schuyler.eldridge@sifive.com>
-
- Feb 14, 2023
-
-
Schuyler Eldridge authored
Deprecate existing ChiselStage class and object as this will be removed in Chisel 5. Add a message telling people to switch to the equivalent circt class/object. Signed-off-by:Schuyler Eldridge <schuyler.eldridge@sifive.com>
-
Chick Markley authored
* Fixed tricky Option mod stuff in BiConnect * Add `: Unit =` where necessary * Mostly fixes for getLines needing parens * Fixed up DataMirror imports
-
Schuyler Eldridge authored
Simplify the dependency specification for CIRCT stage/phase infra to enable removal of some FIRRTL phases on the chisel5 branch. Signed-off-by:Schuyler Eldridge <schuyler.eldridge@sifive.com>
-
- Feb 12, 2023
-
-
Jack Koenig authored
This allows users to see what name Chisel plans to give a Data. This name is NOT guaranteed and the docs warn heavily about that.
-
Jack Koenig authored
Deprecate DataMirror alias in chisel3.experimental. Move package object internal from RawModule.scala to internal/package.scala.
-
Jack Koenig authored
-