1. May 10, 2019
  2. May 04, 2019
  3. Apr 30, 2019
  4. Apr 27, 2019
  5. Apr 26, 2019
    • Schuyler Eldridge's avatar
      Add ShellOption, DeletedWrapper · ef8f06f2
      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: default avatarSchuyler Eldridge <schuyler.eldridge@ibm.com>
      ef8f06f2
    • Schuyler Eldridge's avatar
      OptionsView/Viewer typeclass canonicalizations · 47fe781c
      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: default avatarSchuyler Eldridge <schuyler.eldridge@ibm.com>
      47fe781c
    • Schuyler Eldridge's avatar
      Add tests for Annotations/Options refactor · 254e7909
      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: default avatarSchuyler Eldridge <schuyler.eldridge@ibm.com>
      254e7909
    • Schuyler Eldridge's avatar
      Add FirrtlStage, make Driver compatibility layer · b2dd0eb8
      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...
      b2dd0eb8
  6. Apr 23, 2019
  7. Apr 18, 2019
  8. Apr 12, 2019
  9. Apr 11, 2019
  10. Mar 30, 2019
  11. Mar 29, 2019
  12. Mar 27, 2019
  13. Mar 26, 2019
  14. Mar 20, 2019
  15. Mar 19, 2019
    • Jim Lawson's avatar
      Add serialization support for LoadMemoryFileType in LoadMemoryAnnotation (#1056) · 9911b346
      Jim Lawson authored
      * Add serialization support for LoadMemoryFileType in LoadMemoryAnnotation
      Add custom LoadMemoryFileTypeSerializer.
      Add test to verify LoadMemoryAnnotation can be correctly serialized/deserialized.
      
      * Simplify and focus LoadMemoryAnnotation serialization/deserialization.
      Respond to comments on earlier implementations.
      
      * Add type FileType definition for current chisel3 code.
      9911b346
  16. Mar 08, 2019
    • John Wright's avatar
      Add a data structure for memory conf reading and writing (#1041) · a97a81bc
      John Wright authored
      * Copy MemConf.scala from ucb-bar/barstools#35 into memlib.
      This provides a data structure wrapper around the existing memory conf format
      which contains both reading and writing methods, making it easier to write code
      that needs to read the format.
      
      * Add MemConf tests and use a Map[MemPort, Int] for port lists instead of a Seq[MemPort] which is a bit less fragile.
      a97a81bc
  17. Mar 06, 2019
  18. Mar 01, 2019
  19. Feb 28, 2019
  20. Feb 27, 2019
    • Chick Markley's avatar
      Create a simple generic GraphViz renderer for DiGraph (#1034) · aec54ed7
      Chick Markley authored
      * Create a simple generic graphviz renderer for DiGraph
      There are three basic kinds
      - A simple default renderer
      - A ranked renderer that places nodes in columns based on depth from sources
      - A sub-graph render for graphs that contain a loop
        - Renders just nodes that are part of first loop found
        - Plus the neighbors of the loop
        - Loop edges are shown in red.
      
      * Create a simple generic graphviz renderer for DiGraph
      - Moved the graph loop finder into DiGraph
      - Fixed scala doc per Edward's comments
      aec54ed7
  21. Feb 26, 2019
  22. Feb 25, 2019
  23. Feb 23, 2019
  24. Feb 22, 2019