- Jul 04, 2019
-
-
Schuyler Eldridge authored
This adds a TransformLike mixin, DependencyAPI, that defines the basis of the Dependency API for Stage/Phase. DependencyAPI defines three members that define dependency relationships for some TransformLike "Foo": - "Prerequisites" define TransformLikes that should run before Foo - "Dependents" define TransformLikes that should run after Foo. This allows Foo to inject prerequisites into some other TransformLike. - "Invalidates" define a function that will return true if a specific TransformLike would be invalidated by Foo Prerequisites and Dependents are not Sets due to lack of a fast, immutable Set that preserves insertion order. Internally, these are converted to a private LinkedHashSet. Signed-off-by:Schuyler Eldridge <schuyler.eldridge@ibm.com>
-
Schuyler Eldridge authored
This adds a method to DiGraph called "seededLinearize". This generalizes the original topological sort ("linearize") to be parametric in an initial set of vertices. This enables the user to massage the DFS to produce a better topological sort if they have information about how the DFS should proceed. The initial set of vertices is expected to be made ordered via a LinkedHashSet. Signed-off-by:Schuyler Eldridge <schuyler.eldridge@ibm.com>
-
- Jul 03, 2019
-
-
Leway Colin authored
-
Leway Colin authored
-
- Jun 29, 2019
-
-
Albert Magyar authored
-
- Jun 28, 2019
-
-
Leway Colin authored
* Fix typo * Fix simple_rest typo Co-Authored-By:jack koenig <jack.koenig3@gmail.com> * simple_reset isn't a Array due to 'simple_reset+' change to 'simple_reset' in FIRRTL.g4
-
Leway Colin authored
* Add Test for AddDefaults phase * Refactor AddDefaultsSpec
-
- Jun 21, 2019
-
-
Leway Colin authored
-
- Jun 19, 2019
-
-
Leway Colin authored
* Add sbt-scalafix * Add scalafix guide to README * Remove Unused Import * Remove deprecated procedure syntax
-
- Jun 13, 2019
-
-
Schuyler Eldridge authored
Remove unused variables in `stage.phases.Checks`
-
Leway Colin authored
-
- Jun 06, 2019
-
-
Schuyler Eldridge authored
Signed-off-by:Schuyler Eldridge <schuyler.eldridge@ibm.com>
-
Schuyler Eldridge authored
Fix typo.
-
Leway Colin authored
Because of there isn't extends anything, delete the 'extends' keyword
-
- Jun 04, 2019
-
-
Kevin Laeufer authored
This updates the spec to refelect the changes made in #587. It also fixes issue #968.
-
- May 30, 2019
-
-
harrisonliew authored
-
- May 25, 2019
-
-
Jack Koenig authored
Emit Verilog IntParams that fit in 32-bits as Integer literals
-
- May 10, 2019
-
-
Adam Izraelevitz authored
* Added test to GroupComponentsSpec demonstrating bug * Added bugfix to GroupComponents for invalid ports of grouped instances
-
- May 04, 2019
-
-
Schuyler Eldridge authored
Signed-off-by:Schuyler Eldridge <schuyler.eldridge@ibm.com>
-
Leway Colin authored
-
- Apr 30, 2019
-
-
Schuyler Eldridge authored
Update NoCircuitDedupAnnotation so it's available from firrtl.stage.FirrtlMain
-
Jim Lawson authored
-
- Apr 27, 2019
-
-
Jack Koenig authored
Stage/Phase
-
- Apr 26, 2019
-
-
Schuyler Eldridge authored
Abstracts away option writing such that users no longer have to understand scopt semantics. This adds a ShellOption class and a HasShellOptions trait for something which provides one or more ShellOptions. This refactors the FIRRTL codebase to use this style of option specification. Adds and uses DeletedWrapper to automatically generate DeletedAnnotations. Signed-off-by:Schuyler Eldridge <schuyler.eldridge@ibm.com>
-
Schuyler Eldridge authored
This switches the OptionsView/Viewer typeclass to use more canonical approaches and helper methods. This uses a context bound instead of an explicitly specified implicit argument. Additionally, this adds an apply method to OptionsView to enable more canonical use of the OptionsView typeclass. With this, you can now do things like `Viewer[FirrtlOptions].view` in addition to the old (and still available) `Viewer.view[FirrtlOptions]`. Uses of the latter are updated to use the former. Signed-off-by:Schuyler Eldridge <schuyler.eldridge@ibm.com>
-
Schuyler Eldridge authored
- Add tests for DriverCompatibility.AddImplicitEmitter - Add tests for DriverCompatibility.AddImplicitOutputFile - Use a different top name in DriverSpec emit circuit tests for better coverage - Add tests for DriverCompatibility.WriteEmitted - Add catchWrites firrtlTests utility to intercept file writes - Add tests for WriteOutputAnnotations - Add tests for --custom-transforms reversing Signed-off-by:Schuyler Eldridge <schuyler.eldridge@ibm.com>
-
Schuyler Eldridge authored
This adds FirrtlStage, a reimplementation of the original FIRRTL Driver as a Stage. This updates the original firrtl.options package to implement FirrtlStage (namely, TransformLike is added) along with FirrtlMain. Finally, the original FIRRTL Driver is converted to a compatibility wrapper around FirrtlStage. For background, Stage and Phase form the basis of the Chisel/FIRRTL Hardware Compiler Framework (HCF). A Phase is a class that performs a mathematical transformation on an AnnotationSeq (in effect, a generalization of a FIRRTL transform). Curtly, a Stage is a Phase that also provides a user interface for generating annotations. By their construction, Phases are designed to be composed sequentially into a transformation pipeline. This modifies the existing options package (which provides Stage/Phase) to build out a type hierarchy around Stage/Phase. This adds TransformLike[A] which implements a mathematical transformation over some type A. Additionally...
-
- Apr 23, 2019
-
-
Schuyler Eldridge authored
This changes the base Shell to print information about all registered libraries/transforms. This addresses an @azidar comment about difficulty debugging whether registration worked. This also changes the "FIRRTL Transform Options" help text for registered transforms to only print if registered transforms exist. Signed-off-by:Schuyler Eldridge <schuyler.eldridge@ibm.com>
-
Jack Koenig authored
-
- Apr 18, 2019
-
-
Leway Colin authored
If 'import FIRRTLParser._' globally, 'FIRRTLParser.' is unnecessary.
-
- Apr 12, 2019
-
-
edwardcwang authored
-
- Apr 11, 2019
-
-
Leway Colin authored
Use getWidth function if it is suitable.
-
- Mar 30, 2019
-
-
Albert Magyar authored
* Improve memoization for register const prop
-
- Mar 29, 2019
-
-
Andrew Waterman authored
DCE printf and stop statements with constant-0 enables
-
Jack Koenig authored
-
- Mar 27, 2019
-
-
Jim Lawson authored
* Convert the RemoveAccesses object into a class. Prevent simultaneous access to common resources when tests are run in parallel. * Respond to comments - use object factory to preserve existing API.
-
Andrew Waterman authored
-
Andrew Waterman authored
This gets rid of about 10% of the generated Verilog in the rocket-chip default config.
-
- Mar 26, 2019
-
-
Felix Yan authored
-
- Mar 20, 2019
-
-
John Wright authored
Designs with no SeqMems should produce empty MemConf strings, and this should be parsable without excepting (#1060)
-