- Feb 04, 2022
-
-
mergify[bot] authored
* Only call _elementsImpl once in Bundle.elements * Distinguish compiler plugin and reflective _elementsImpl Bundle.elements now will only do post-processing if the user is using plugin-generated _elementsImpl. This improves performance for the case where the user does not opt-in to using the plugin to generate _elementsImpl. (cherry picked from commit 5fead89e ) Co-authored-by:
Jack Koenig <koenig@sifive.com>
-
mergify[bot] authored
(cherry picked from commit 055a8529 ) Co-authored-by:
John Ingalls <43973001+ingallsj@users.noreply.github.com>
-
- Feb 03, 2022
-
-
mergify[bot] authored
* Change type of Bundle._elementsImpl to Iterable It was previously SeqMap (ListMap on Scala 2.12). This change gives us more freedom to optimize the implementation without breaking binary compatibility. It is scala.collection.Iterable because it is perfectly fine to return mutable collections (like Arrays) since the only use is to Iterate on them. * Disallow users implementing Bundle._elementsImpl Currently, it would result in a runtime linkage error. This turns it into a compile-time error. Co-authored-by:
mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> (cherry picked from commit 1b05a14a ) Co-authored-by:
Jack Koenig <koenig@sifive.com>
-
mergify[bot] authored
Use Builder.deprecated instead of Builder.warning so that the warnings are aggregated by source locator to prevent spamming the screen with duplicated warnings. (cherry picked from commit 538e223a ) Co-authored-by:
Jack Koenig <koenig@sifive.com>
-
- Feb 02, 2022
-
-
mergify[bot] authored
(cherry picked from commit 551854b2 ) Co-authored-by:
Jack Koenig <koenig@sifive.com>
-
mergify[bot] authored
* Improve error reporting (#2376) * Do not trim stack traces of exceptions with no stack trace This prevents us from accidentally giving stack traces to exceptions that don't have them and giving misleading messages telling users to use --full-stacktrace when it won't actually do anything. Also deprecate ChiselException.chiselStackTrace which is no longer being used anywhere in this codebase. * Add exception class for multiple-errors reported New chisel3.internal.Errors replaces old anonymous class that would show up as chisel3.internal.ErrorLog$$anon$1 in error messages. * Add new option --throw-on-first-error This tells Chisel not to aggregate recoverable errors but instead to throw an exception on the first one. This gives a stack trace for users who need it for debugging. (cherry picked from commit ff2e9c92 ) * Waive MiMa false positives The waived change is to a package private constructor. Co-authored-by:
Jack Koenig <koenig@sifive.com> Co-authored-by:
mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
-
mergify[bot] authored
Warn if clock at memory instantiation differs from clock bound at port creation and port clock is not manually passed Co-authored-by:
Jack Koenig <koenig@sifive.com> (cherry picked from commit 465805ec ) Co-authored-by:
Aditya Naik <91489422+adkian-sifive@users.noreply.github.com>
-
mergify[bot] authored
Adds generation of `Bundle.elements` method to the chores done by the compiler plugin For each `Bundle` find the relevant visible Chisel field members and construct a hard-coded list of the elements and their names implemented as `_elementsImpl` For more details: See plugins/README.md - Should be no change in API - Handles inheritance and mixins - Handles Seq[Data] - Tests in BundleElementSpec Co-authored-by:
chick <chick.markley@sifive.com> Co-authored-by:
Jack Koenig <koenig@sifive.com> (cherry picked from commit 237200a4 ) Co-authored-by:
Chick Markley <chick@qrhino.com>
-
- Jan 28, 2022
-
-
mergify[bot] authored
* Fix the QMC bug for constant and dontcare output. * Fix the Espresso bug for constant and dontcare output. (cherry picked from commit 46b53320 ) Co-authored-by:
Jiuyang Liu <liu@jiuyang.me>
-
- Jan 27, 2022
-
-
mergify[bot] authored
(cherry picked from commit 13fb4595 ) Co-authored-by:
Adam Izraelevitz <adam.izraelevitz@sifive.com>
-
- Jan 21, 2022
-
-
mergify[bot] authored
The new reflection based IO autowrapping for compatibility mode Modules would previously throw a NullPointerExceptions if any hardware were constructed in the Module before "val io" was initialized. The logic is now more robust for this case. Co-authored-by:
Schuyler Eldridge <schuyler.eldridge@sifive.com> (cherry picked from commit 50e6099f ) Co-authored-by:
Jack Koenig <koenig@sifive.com>
-
- Jan 20, 2022
-
-
mergify[bot] authored
#naming implies within the current file. Removing the # refers to a file in the current directory. (cherry picked from commit 512ddd6c ) Co-authored-by:
Jack Koenig <koenig@sifive.com>
-
- Jan 19, 2022
-
-
mergify[bot] authored
(cherry picked from commit 91d7baa8 ) Co-authored-by:
Kevin Laeufer <laeufer@cs.berkeley.edu>
-
- Jan 18, 2022
-
-
Jack Koenig authored
-
- Jan 13, 2022
-
-
mergify[bot] authored
(cherry picked from commit d6710acb ) Co-authored-by:
Jack Koenig <koenig@sifive.com>
-
- Jan 12, 2022
-
-
Jack Koenig authored
-
Megan Wachs authored
* Add Lookupable for Either * Lookupable: enhance the @public/@instantiable error message to include traits and Eithers Co-authored-by:Jack Koenig <koenig@sifive.com>
-
- Jan 11, 2022
-
-
Jack Koenig authored
Add scalafmt configuration and apply it.
-
Jack Koenig authored
-
Jack Koenig authored
Command: sbt scalafmtAll
-
Jiuyang Liu authored
Can be run in two ways: * sbt scalaFmtAll * mill mill.scalalib.scalafmt.ScalafmtModule/reformatAll __.sources
-
Jack Koenig authored
Update mergify queue action
-
Jack Koenig authored
Mergify deprecated and removed strict mode in the merge action. Instead, we now use the queue action. Using ucb-bar/chisel-repo-tools#38.
-
Jack Koenig authored
Generation script is chisel-repo-tools/scripts/mergify.sc
-
- Jan 08, 2022
-
-
Megan Wachs authored
* New Feature: Add a Select.ios that works with Definition/Instance * BugFix: isA now truly ignores type parameters
-
- Dec 22, 2021
-
-
Jack Koenig authored
-
- Dec 21, 2021
-
-
Jack Koenig authored
Fix unidoc
-
Jack Koenig authored
-
Jack Koenig authored
This enables skipping files in the compiler plugin, only needed for unidoc generation.
-
Jack Koenig authored
It is always true. The scalacOption to enable it is still supported and prints a warning that the option no longer does anything.
-
Olushola Ogunkelu authored
-
- Dec 18, 2021
-
-
Jack Koenig authored
This reverts commit 21e32472. Note that I am keeping the change making Arg sealed.
-
Chick Markley authored
- Shows groups of field names that share a common id (i.e. aliased) - Show, as much as possible, them in the order that fields appear in bundle - Updated BundleSpec's relevant tests Co-authored-by:
Megan Wachs <megan@sifive.com> Co-authored-by:
Jack Koenig <koenig@sifive.com>
-
- Dec 16, 2021
-
-
Jiuyang Liu authored
BitSet is a new experimental parent type for BitPat. It enables more complex operations on BitPats. Co-authored-by:Ocean Shen <shenao6626@gmail.com>
-
Jack Koenig authored
Also clean up deprecation warnings for replacement APIs and add clarifying ScalaDoc.
-
Jack Koenig authored
This new document is a place to describe issues users may run into when upgrading from Chisel 3.4 to 3.5. This initial version includes the solution for the removal of virtual method "val io". Co-authored-by:Megan Wachs <megan@sifive.com>
-
- Dec 15, 2021
-
-
Scala Steward authored
-
Jiuyang Liu authored
This makes the resulting Verilog from decoding a TruthTable deterministic.
-
Jiuyang Liu authored
Co-authored-by:mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
-
Aditya Naik authored
-