- Dec 15, 2021
-
-
Jack Koenig authored
The mutability of the RenameMap API has long been a wart. It also has made it impossible to provide alternative implementations that do not have a underlying map. By changing RenameMap to a [sealed] trait, it will become possible to provide optimized implementations for different purposes.
-
- Dec 14, 2021
-
-
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>
-
Jiuyang Liu authored
1. Add CustomRadix{Def,Apply}Annotation to define and apply custom radix. 2. Add CustomRadixConfigFileAnnotation to output a JSON config file so users can generate scripts on their own. Reviewed-by:Jiuyang Liu <liu@jiuyang.me> Co-authored-by:
sinofp <sinofp@tuta.io>
-
- Dec 05, 2021
-
-
Scala Steward authored
-
- Dec 02, 2021
-
-
Jack Koenig authored
Improve ANTLR Parser
-
Jack Koenig authored
The ANTLR-generated concrete syntax tree (CST) takes up much more memory than the parsed .fir file. By using a Listener, we can construct the FIRRTL AST live with CST construction and null out the CST as we consume pieces of it. Not only does this improve performance, it drastically reduces max memory use for the parser.
-
Jack Koenig authored
Tweak the grammar to handle references without left-recursion. Also split references and subreferences out from the regular expression rule to make their parsing more efficient.
-
Jack Koenig authored
The classes should not really be part of the firrtl public API to begin with and they cause issues during ScalaDoc generation.
-
Jack Koenig authored
-
- Nov 30, 2021
-
-
Jiuyang Liu authored
Co-authored-by:Jack Koenig <koenig@sifive.com>
-
Scala Steward authored
Co-authored-by:mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
-
Jiuyang Liu authored
Also remove all related APIs: ComposableOptions HasParser CommonOptions HasCommonOptions FirrtlExecutionOptions HasFirrtlOptions FirrtlExecutionResult FirrtlExecutionSuccess FirrtlExecutionFailure ExecutionOptionsManager firrtl.stage.DriverCompatibility.firrtlResultView logger.Logger.makeScope OutputConfig SingleFile OneFilePerModule * Change default LogLevel to None which means "unset" Logger.getGlobalLevel then returns LogLevel.Warn when the current value is LogLevel.None. This preserves the behavior of the default being "Warn" but now uses LogLevel.None to indicate "I'm not setting the value." This resolves issues where it was not possible to tell if annotations were actually setting the log level or if the default level of warn was just being filled in. Co-authored-by:
sinofp <sinofp@tuta.io> Co-authored-by:
Jack Koenig <koenig@sifive.com>
-
- Nov 24, 2021
-
-
Carlos Eduardo authored
-
Jiuyang Liu authored
Co-authored-by:sinofp <sinofp@tuta.io>
-
Jiuyang Liu authored
Co-authored-by:sinofp <sinofp@tuta.io>
-
- Nov 23, 2021
-
-
Jiuyang Liu authored
Co-authored-by:mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
-
Jiuyang Liu authored
Co-authored-by:mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
-
Jiuyang Liu authored
Co-authored-by:mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
-
Jiuyang Liu authored
Co-authored-by:mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
-
Jiuyang Liu authored
* remove firrtl.Utils.get_flip. * remove firrtl.Utils.indent.
-
- Nov 20, 2021
-
-
Scala Steward authored
-
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
* Update scala-parallel-collections to 1.0.4 * Update scala-parallel-collections to 1.0.4 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>
-
Scala Steward authored
-
Scala Steward authored
-
Scala Steward authored
-
Scala Steward authored
* Update sbt-scalafix to 0.9.32 * Update scala-library, scala-reflect to 2.13.7
-
Jiuyang Liu authored
* Add option to disable random mem/reg init Co-authored-by:
Jiuyang Liu <liu@jiuyang.me> * fix for code review. Co-authored-by:
SharzyL <me@sharzy.in>
-
- Nov 13, 2021
-
-
Chick Markley authored
An application like barstools may contain a main that loads an annotations file containing annotation classes that are not on it's classpath. This change allows unknown annotations to be preserved by wrapping them in a UnrecognizedAnnotation. If annotations are then output to a file, they will be unwrapped during serialization This feature can be enabled via an AllowUnrecognizedAnnotations annotation Co-authored-by:
chick <chick.markley@sifive.com> Co-authored-by:
Jack Koenig <koenig@sifive.com>
-
Schuyler Eldridge authored
Add defname, parameter to extmodule spec, NFC Signed-off-by:Schuyler Eldridge <schuyler.eldridge@sifive.com>
-
- Nov 11, 2021
-
-
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>
-