You need to sign in or sign up before continuing.
- Aug 31, 2021
-
-
mergify[bot] authored
Previous incomplete fixes in #2023 and #2031. The legality of a FIRRTL connection is determined by type and flow. Chisel does not have access to true flow information. Previous fix attempts tried to use ActualDirection as a stand-in for flow, but it is incorrect in many cases. This new approach checks the flows of the lvalue and rvalues in the connect and flips the connection if either the lvalue cannot be a sink or the rvalue cannot be a source. (cherry picked from commit 7fb2c1eb ) Co-authored-by:
Jack Koenig <koenig@sifive.com>
-
- Aug 30, 2021
-
-
mergify[bot] authored
(cherry picked from commit 0a985f7d ) Co-authored-by:
Megan Wachs <megan@sifive.com>
-
- Jul 10, 2021
-
-
mergify[bot] authored
* Fix chisel3 <> for Bundles that contain compatibility Bundles (Take 2) (#2031) PR #2023 fixed a composition issue for chisel3 biconnects delegating to FIRRTL partial connect when compatibility mode Bundles are elements of chisel3 Bundles. It missed an important case though that caused previously working code to break. The bug is fixed by doing the automatic flipping for compatibility mode Bundles that have "Input" as a direction in addition to those that are "Flipped". (cherry picked from commit 5183ef88 ) # Conflicts: # src/test/scala/chiselTests/CompatibilityInteroperabilitySpec.scala * Resolve backport conflicts Co-authored-by:
Jack Koenig <koenig@sifive.com>
-
- Jul 09, 2021
-
-
mergify[bot] authored
* Make it legal for concrete resets to drive abstract reset (#2018) This has been legal in FIRRTL since v1.2.3 (when reset inference started using a unification-style algorithm) but was never exposed in the Chisel API. Also delete the overridden connects in AsyncReset and ResetType which just duplicate logic from MonoConnect. (cherry picked from commit 4b7b771e ) * Fix issues with tests Co-authored-by:
Jack Koenig <koenig@sifive.com> Co-authored-by:
mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
-
mergify[bot] authored
* Fix chisel3 <> for Bundles that contain compatibility Bundles (#2023) BiConnect in chisel3 delegates to FIRRTL <- semantics whenever it hits a Bundle defined in `import Chisel._`. Because chisel3 <> is commutative it needs to be mindful of flippedness when emitting a FIRRTL <- (which is *not* commutative). (cherry picked from commit 16c0b53e ) * Fix test issue in Scala 2.11 Co-authored-by:
Jack Koenig <koenig@sifive.com>
-
- May 26, 2021
-
-
Jiuyang Liu authored
This reverts commit 246de4c1.
-
- May 20, 2021
-
-
mergify[bot] authored
* Implement PLA (#1912) * implement pla * implement test for pla * implement inverter matrix of PLA generator * fix for review. Co-authored-by:
Boyang Han <yqszxx@gmail.com> (cherry picked from commit 1c1a4d72 ) * fix 2.11 Co-authored-by:
Jiuyang Liu <liu@jiuyang.me>
-
- Mar 30, 2021
-
-
mergify[bot] authored
(cherry picked from commit 9c9bc131 ) Co-authored-by:
Jack Koenig <koenig@sifive.com>
-
- Mar 19, 2021
-
-
mergify[bot] authored
Change top.cpp to deassert reset one time unit before the clock asserts. This avoids a Verilator simultation issue in top.cpp where the eval() function is only called once per simultation loop. If the clock and reset are both changed and eval() is only called once, then any combinational update due to a change in reset is not visible to the sequential logic. This avoids issues where the downstream compilation utilities move synchronous reset logic outside of an always block that describes a synchronous reset flip flop. Reset now deasserts on time unit 10 and the clock ticks on time unit 11. h/t @albert-magyar Signed-off-by:
Schuyler Eldridge <schuyler.eldridge@sifive.com> (cherry picked from commit ac094a5e ) Co-authored-by:
Schuyler Eldridge <schuyler.eldridge@sifive.com>
-
- Feb 06, 2021
-
-
mergify[bot] authored
Signed-off-by:
Jean Bruant <jean.bruant@ovhcloud.com> (cherry picked from commit e3b6cf4e ) Co-authored-by:
John's Brew <46595442+johnsbrew@users.noreply.github.com>
-
- Jan 27, 2021
-
-
mergify[bot] authored
If a method passed to higher function does not return any value, it is prefer to use `foreach` instead of `map`. Co-authored-by:
mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> (cherry picked from commit 654db98e ) Co-authored-by:
SoyaOhnishi <ohnishi.soya@arc.cs.okayama-u.ac.jp>
-
mergify[bot] authored
(cherry picked from commit d0db0b8b ) Co-authored-by:
Jack Koenig <koenig@sifive.com>
-
- Jan 25, 2021
-
-
mergify[bot] authored
This is a nit fix. no logic is changed. * Rename `typeName` to `enumTypeName` in ScalaDoc * Add return type at public method * Rename `enum_records` into `enumRecords` to retain name consistency Co-authored-by:
Jack Koenig <koenig@sifive.com> (cherry picked from commit 2a967670 ) Co-authored-by:
SoyaOhnishi <ohnishi.soya@arc.cs.okayama-u.ac.jp>
-
- Jan 12, 2021
-
-
mergify[bot] authored
Make `toTarget` fail if called on a Literal (or would otherwise not serialize properly) (bp #1714) (#1719) * Make `toTarget` fail if called on a Literal (or would otherwise not serialize properly) (#1714) * Add (failing) Test for Data toTarget calls Add scaladoc and clean up test * Builder: don't let .toTarget pass if it won't be able to deserialize properly later * Update src/test/scala/chiselTests/ReferenceTargetSpec.scala * Rename and simplify tests for literal toTarget (cherry picked from commit b578aa5e ) # Conflicts: # chiselFrontend/src/main/scala/chisel3/internal/Builder.scala * fixup! Make `toTarget` fail if called on a Literal (or would otherwise not serialize properly) (#1714) Co-authored-by:
Megan Wachs <megan@sifive.com> Co-authored-by:
Schuyler Eldridge <schuyler.eldridge@sifive.com>
-
- Dec 18, 2020
-
-
Jack Koenig authored
(cherry picked from commit a600a95b)
-
mergify[bot] authored
* Remove CircleCI (#1702) Co-authored-by:
mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> (cherry picked from commit eae69e95 ) # Conflicts: # .circleci/config.yml * Resolve merge conflicts Co-authored-by:
Jack Koenig <koenig@sifive.com>
-
- Dec 17, 2020
-
-
mergify[bot] authored
* Switch to using Github Actions CI (#1690) MiMa binary compatibility checks are now run on master, but the mimaPreviousArtifacts are empty which makes the check a no-op. This helps keep both the build.sbt and CI more consistent between master and stable branches. .mergify.yml is also updated with mergify.sc from chisel-repo-tools using the following configuration: conditions: - status-success=all tests passed branches: - 3.2.x - 3.3.x - 3.4.x (cherry picked from commit 25a417f8 ) # Conflicts: # .mergify.yml # build.sbt # project/plugins.sbt * Resolve merge conflicts and remove docs tests Docs tests were added in 3.4 Co-authored-by:
Jack Koenig <koenig@sifive.com>
-
- Nov 14, 2020
-
-
mergify[bot] authored
* Return 0.U for asUInt of a zero-element Seq Add a condition to SeqUtils.asUInt to have it return an unspecified width 0.U when applied to an empty sequence. This enables the ability to do a Cat of a zero-element sequence. Signed-off-by:
Schuyler Eldridge <schuyler.eldridge@sifive.com> * Test elaboration of Cat on zero-element Seq Signed-off-by:
Schuyler Eldridge <schuyler.eldridge@sifive.com> (cherry picked from commit ac641fb1 ) Co-authored-by:
Schuyler Eldridge <schuyler.eldridge@sifive.com> Co-authored-by:
mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
-
- Nov 11, 2020
-
-
mergify[bot] authored
* Provide user source locators in Builder.error errors (#1618) Package chisel3 was not properly marked as an internal package so source locators in reported errors would point to files like Bits.scala. (cherry picked from commit baea2da8 ) * Resolve backport issues Co-authored-by:
Jack Koenig <koenig@sifive.com> Co-authored-by:
mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
-
mergify[bot] authored
* Support using switch without importing SwitchContext (#1595) (cherry picked from commit 9c4f14fb ) # Conflicts: # docs/src/wiki-deprecated/cookbook.md # src/test/scala/chiselTests/SwitchSpec.scala * Resolve merge conflicts Co-authored-by:
Jack Koenig <koenig@sifive.com> Co-authored-by:
mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
-
mergify[bot] authored
* Ignore tests using System.setSecurityManager (#1661) The SecurityManager is global so is not thread-safe. This is the source of flaky tests in FIRRTL CI. Co-authored-by:
mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> (cherry picked from commit 9f1d6cbb ) # Conflicts: # src/test/scala/chiselTests/stage/ChiselStageSpec.scala * Resolve merge conflicts Co-authored-by:
Jack Koenig <koenig@sifive.com>
-
- Oct 10, 2020
-
-
Jack Koenig authored
-
- Aug 07, 2020
-
-
mergify[bot] authored
comment fix only. (cherry picked from commit f13b29d1 ) Co-authored-by:
Leigang Kou <56602048+leikou01@users.noreply.github.com>
-
- Aug 01, 2020
-
-
mergify[bot] authored
* Broken auto-clonetype on Scala 2.11.12 (#1480) * Added broken auto-clonetype test * Added bugfix for 2.11 * Add descriptive comment for 2.11 special case * Update src/test/scala/chiselTests/AutoClonetypeSpec.scala * Update src/test/scala/chiselTests/AutoClonetypeSpec.scala Co-authored-by:
mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> (cherry picked from commit 3b206b50 ) * Apply suggestions from code review Co-authored-by:
Adam Izraelevitz <azidar@gmail.com>
-
- Jun 23, 2020
-
-
mergify[bot] authored
* Canonicalize construction of empty Decoupled * Change signature after dev meeting discussion * Make EmptyBundle private and final * Add test case for Decoupled with no payload * Apply suggestions from code review Co-authored-by:
Richard Lin <richard.lin@berkeley.edu> Co-authored-by:
Albert Magyar <albert.magyar@gmail.com> Co-authored-by:
Schuyler Eldridge <schuyler.eldridge@ibm.com> Co-authored-by:
Adam Izraelevitz <azidar@gmail.com> Co-authored-by:
Richard Lin <richard.lin@berkeley.edu> Co-authored-by:
mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> (cherry picked from commit 28e1a244 ) Co-authored-by:
Jack Koenig <koenig@sifive.com> Co-authored-by:
mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
-
mergify[bot] authored
(cherry picked from commit 9bda7a75 ) Co-authored-by:
Jack Koenig <koenig@sifive.com> Co-authored-by:
mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
-
mergify[bot] authored
* Added group chisel API * Removed println * Added scaladoc * Added more tests * Cleaned spacing and removed println Co-authored-by:
Chick Markley <chick@qrhino.com> Co-authored-by:
Jim Lawson <ucbjrl@berkeley.edu> Co-authored-by:
Schuyler Eldridge <schuyler.eldridge@ibm.com> (cherry picked from commit 161938b8 ) Co-authored-by:
Adam Izraelevitz <azidar@gmail.com> Co-authored-by:
mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
-
mergify[bot] authored
Co-authored-by:
mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> (cherry picked from commit 803ccbb7 ) Co-authored-by:
apaj <aleksandar.pajkanovic@gmail.com> Co-authored-by:
mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
-
Jack Koenig authored
-
- May 14, 2020
-
-
mergify[bot] authored
Signed-off-by:
Schuyler Eldridge <schuyler.eldridge@ibm.com> Co-authored-by:
Schuyler Eldridge <schuyler.eldridge@ibm.com>
-
- Apr 28, 2020
-
-
mergify[bot] authored
* Add tests for async reset regs of non-UInt types (#1414) (cherry picked from commit e6c179ad ) * Remove Intervals from AsyncReset tests for 3.2.x Co-authored-by:
Jack Koenig <koenig@sifive.com>
-
- Apr 11, 2020
-
-
mergify[bot] authored
Remove var from object Counter.apply, using a Wire instead. Also improve some ScalaDoc and the class Counter require message. (cherry picked from commit a39d0e13 ) Co-authored-by:
Jack Koenig <koenig@sifive.com>
-
Jim Lawson authored
(cherry picked from commit e55c00fe)
-
- Mar 25, 2020
-
-
mergify[bot] authored
Co-authored-by:
mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> (cherry picked from commit 6263fcc5 ) Co-authored-by:
Jack Koenig <koenig@sifive.com>
-
- Mar 21, 2020
-
-
mergify[bot] authored
Change the logic for determining which nested ChiselException cause to use for a trimmed stack trace. Previously, this would use the outermost. This commit changes this to use the innermost. Signed-off-by:
Schuyler Eldridge <schuyler.eldridge@ibm.com> (cherry picked from commit 5d269ce3 ) Co-authored-by:
Schuyler Eldridge <schuyler.eldridge@ibm.com>
-
- Mar 20, 2020
-
-
mergify[bot] authored
* Wrap elaboration in ChiselException Signed-off-by:
Schuyler Eldridge <schuyler.eldridge@ibm.com> squash! Wrap elaboration in ChiselException (cherry picked from commit d67c4100 ) * Report trimmed stack trace of Builder cause Changes the behavior of ChiselException stack trace trimming to use either the first exception that includes a method from the Builder or the outer exception. Signed-off-by:
Schuyler Eldridge <schuyler.eldridge@ibm.com> (cherry picked from commit 73974725 ) * Test nested ChiselException in ChiselMain Adds two tests: 1. Test that an internal requirement failure (a bare exception) inside a Builder is properly reported/trimmed by ChsielStage/ChiselMain 2. Test that the full stack trace includes the ChiselException Signed-off-by:
Schuyler Eldridge <schuyler.eldridge@ibm.com> (cherry picked from commit 18520bf1 ) * Code style improvement Co-authored-by:
Jack Koenig <koenig@sifive.com> Signed-off-by:
Schuyler Eldridge <schuyler.eldridge@ibm.com> (cherry picked from commit 30a0a5f9 ) * Safer generation of ChiselException.builderName Change ChiselException.builderName to compute the name of Chisel's internal Builder as opposed to hard-coding this with a string. Signed-off-by:
Schuyler Eldridge <schuyler.eldridge@ibm.com> (cherry picked from commit 969a56d6 ) * Add Scaladoc to ChiselException Signed-off-by:
Schuyler Eldridge <schuyler.eldridge@ibm.com> (cherry picked from commit 3171cdf8 ) Co-authored-by:
Schuyler Eldridge <schuyler.eldridge@ibm.com>
-
- Mar 13, 2020
-
-
Jack Koenig authored
-
- Feb 20, 2020
-
-
Jim Lawson authored
-
mergify[bot] authored
Co-authored-by:
mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> (cherry picked from commit aac6e175 ) Co-authored-by:
Jack Koenig <jack.koenig3@gmail.com>
-
- Feb 19, 2020
-
-
mergify[bot] authored
* Remove CCC Upcoming Event Signed-off-by:
Schuyler Eldridge <schuyler.eldridge@ibm.com> * Add developer meetings as upcoming events Signed-off-by:
Schuyler Eldridge <schuyler.eldridge@ibm.com> (cherry picked from commit d183168f ) Co-authored-by:
Schuyler Eldridge <schuyler.eldridge@gmail.com>
-