- Aug 17, 2021
-
-
Jiuyang Liu authored
-
- Aug 13, 2021
-
-
Jack Koenig authored
DataView is a mechanism for "viewing" Scala objects as a subtype of `Data`. Often, this is useful for viewing one subtype of `Data`, as another. One can think about a DataView as a cross between a customizable cast and an untagged union. A DataView has a Target type `T`, and a View type `V`. DataView requires that an implementation of `DataProduct` is available for Target types. DataProduct is a type class that provides a way to iterate on `Data` children of objects of implementing types. If a DataView is provided for a type T to a type V, then the function .viewAs[V] (of type T => V) is available. The object (of type T) returned by .viewAs is called a "View" and can be used as both an rvalue and an lvalue. Unlike when using an .asTypeOf cast, connecting to a "View" will connect to the associated field or fields of the underlying Target. DataView also enables .viewAsSupertype which is available for viewing Bundles as a parent Bundle type. It is similar to .viewAs but requires a prototype object of the Target type which will be cloned in order to create the returned View. .viewAsSupertype maps between the corresponding fields of the parent and child Bundle types.
-
- Aug 12, 2021
-
-
Jiuyang Liu authored
Pass truth table to espresso using stdin instead of temp file
-
Boyang Han authored
-
- Aug 06, 2021
-
-
Chick Markley authored
* Small changes to memory doc - Fixed typo "except" => "accept" - Use `Counter` explicitly in ROM section example. * Fix counter doc compile error * remove invisible doc block in memory example * more small fixes to make mem example pass doc compile * Get rid of sine wave iterator in memory doc * get rid of tabs on VecInit example * get rid of tabs on VecInit example
-
- Aug 05, 2021
-
-
anniej-sifive authored
Co-authored-by:mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
-
- Aug 04, 2021
-
-
anniej-sifive authored
Co-authored-by:
Megan Wachs <megan@sifive.com> Co-authored-by:
Deborah Soung <debs@sifive.com>
-
- Jul 29, 2021
-
-
Jack Koenig authored
-
Jared Barocsi authored
Co-authored-by:Jack Koenig <koenig@sifive.com>
-
- Jul 28, 2021
-
-
Megan Wachs authored
There are now more tool dependecies than just `verilator` to get the full test suite to pass. Also add instructions for running the tests without the compiler plugin,
-
- Jul 23, 2021
-
-
Scala Steward authored
Co-authored-by:mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
-
Jack Koenig authored
The example in the README is a sum, not an average.
-
- Jul 15, 2021
-
-
Leway Colin authored
Co-authored-by:Jack Koenig <koenig@sifive.com>
-
Jiuyang Liu authored
Co-authored-by:
Haoran Yuan <sinofp@tuta.io> Co-authored-by:
Boyang Han <yqszxx@gmail.com>
-
- Jul 13, 2021
-
-
Jiuyang Liu authored
Fix CI.
-
Jiuyang Liu authored
-
Jiuyang Liu authored
-
Jiuyang Liu authored
-
- Jul 12, 2021
-
-
Scala Steward authored
-
- Jul 10, 2021
-
-
Jack Koenig authored
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".
-
- Jul 09, 2021
-
-
Jack Koenig authored
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.
-
Jack Koenig authored
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).
-
- Jul 08, 2021
-
-
Verneri Hirvonen authored
* Add @ekiwi's code as a starting point * Add test for ChiselEnum isOneOf method * Make isOneOfTester naming consistent with other testers * Add scaladoc comments for isOneOf * Add isOneOf tests that use the method that takes variable number of args * Add guide level documentation example for isOneOf
-
Schuyler Eldridge authored
Change the Scaladoc for the dontTouch utility. Indicate that this is an _optimization barrier_ and not just a guarantee that the signal won't be removed. The optimization barrier interpretation is the current implementation in the Scala FIRRTL Compiler. Signed-off-by:
Schuyler Eldridge <schuyler.eldridge@sifive.com> Co-authored-by:
mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
-
Jack Koenig authored
Also add newline to end of `verilog` modifier code blocks so that there is always a newline between code blocks and following material.
-
- Jul 07, 2021
-
-
Deborah Soung authored
-
- Jul 02, 2021
-
-
Jack Koenig authored
Fix ChiselEnum warnings and use Logger for warnings instead of println
-
Jack Koenig authored
-
Jack Koenig authored
Previously, ChiselEnum would warn any time a UInt is converted to an Enum. There was no way to suppress this warning. Now there is a factory method (`.safe`) that does not warn and returns (Enum, Bool) where the Bool is the result of calling .isValid on an Enum object. The regular UInt cast is also now smarter and will not warn if all bitvectors of the width of the Enum are legal states.
-
Jack Koenig authored
It also uses the same logger as the Builder so that if we ever refactor that to be passed as an argument, it will be the same logger for both Builder and warning reporting.
-
- Jun 30, 2021
-
-
Boyang Han authored
-
Jack Koenig authored
Fix aop.Select behavior for CloneModuleAsRecord
-
Jack Koenig authored
Previously, CloneModuleAsRecord clones would result in the same BaseModule object coming up multiple times when using APIs like .instances, .collectDeep, and .getDeep. This was not the intended behavior and can lead to very subtle bugs.
-
Jack Koenig authored
-
- Jun 29, 2021
-
-
anniej-sifive authored
* added to readme * Update README.md Co-authored-by:
Jack Koenig <jack.koenig3@gmail.com> Co-authored-by:
Jack Koenig <jack.koenig3@gmail.com> Co-authored-by:
mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
-
Jiuyang Liu authored
* deprecate getPorts with modulePorts. * add doc to fullModulePorts and update deprecation notes. Co-authored-by:mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
-
Jack Koenig authored
Fix CloneModuleAsRecord support for .toTarget
-
Jack Koenig authored
-
Jack Koenig authored
-
Jiuyang Liu authored
-