1. Nov 02, 2021
    • chick's avatar
      A number of fixes in response to PR comments · f5aa1318
      chick authored
      - Added `UnrecogizedAnnotationsException` for internal communications of errors during annotation deserialization
      - Made tracking of Unrecognized annotation types more robust, by extracting class with regex
      - fixed AllowUnrecognizedAnnotations to stop it from eating following annotation
      - change to use mutable package inline with ArrayBuffer
      - removed intermediate result values used in debugging JsonProtocol
      - added handler in `stage.view` annotation handler
      - Added new tests to show behavior when run from command line
      f5aa1318
    • Chick Markley's avatar
  2. Oct 28, 2021
  3. Oct 20, 2021
  4. Oct 19, 2021
  5. Oct 15, 2021
    • chick's avatar
      Let firrtl based applications run despite loading unknown annotations · 3cd42881
      chick authored
      An application like barstools may contain a main that loads an annotations file containing
      annotation classes that are not on it's classpath. This change allows unknown annotations
      to be preserved by wrapping them in a UnrecognizedAnnotation. If annotations are then output
      to a file, they will be unwrapped during serialization
      This feature can be enabled via an AllowUnrecognizedAnnotations annotation
      3cd42881
  6. Oct 09, 2021
  7. Oct 06, 2021
  8. Oct 05, 2021
  9. Sep 30, 2021
  10. Sep 29, 2021
    • Nicolas Machado's avatar
      Add RTLIL Backend. (#2331) · e70ee536
      Nicolas Machado authored
      * Added RTLIL Backend.
      
      * Add test for Rtlil Backend, fix per-module file emission, scalafmt, and apply bugfixes for inconsistencies found during testing.
      
      * Fix build on scala 2.13
      
      * Add additional equivalence test, make some bugfixes and perf opts to the emitter.
      
      * Final changes as requested by Kevin, code cleanup, add support for formal cells.
      e70ee536
  11. Sep 28, 2021
  12. Sep 24, 2021
  13. Sep 15, 2021
  14. Sep 14, 2021
    • Jack Koenig's avatar
      Bump Scala to 2.12.14 and 2.13.6 (#2356) · 8421e96f
      Jack Koenig authored
      This required also bumping sbt-scalafix to bring in a newer version of
      semanticdb. The new version of semanticdb had an issue with a regex in
      SMTLib, fixed by fixing the way '$' is escaped in the regex.
      8421e96f
  15. Sep 11, 2021
  16. Sep 09, 2021
  17. Sep 04, 2021
  18. Aug 31, 2021
  19. Aug 27, 2021
    • Schuyler Eldridge's avatar
      Fix dshl zero-width shift behavior (#2339) · cc80c631
      Schuyler Eldridge authored
      
      
      * Fix dshl zero-width shift behavior
      
      Add a special case for dshl handling in the ZeroWidths pass.  If one
      expression is shifted by a second, zero-width expression, just return
      the first expression.  This prevents a bug where the width will
      incorrectly expand due to zero-widths introducing a 1-bit zero
      expression.
      
      Signed-off-by: default avatarSchuyler Eldridge <schuyler.eldridge@sifive.com>
      
      * fixup! Fix dshl zero-width shift behavior
      cc80c631
  20. Aug 21, 2021
  21. Aug 18, 2021
  22. Aug 14, 2021
  23. Aug 11, 2021
  24. Aug 10, 2021
  25. Aug 06, 2021
    • Schuyler Eldridge's avatar
      Fix Specification Memory Port Types (#2319) · 8abf3085
      Schuyler Eldridge authored
      
      
      Correct incorrect type specified for memories in the FIRRTL
      specification.  This is important because the memory type determines
      what is a legal bundle to try to connect to a memory port.
      
      I based this off of FIRRTL accepting the following circuit:
      
          circuit MemOrder:
            module MemOrder:
              input r: {addr : UInt<3>, en : UInt<1>, clk : Clock, flip data : UInt<1>}
              input w: {addr : UInt<3>, en : UInt<1>, clk : Clock, data : UInt<1>, mask : UInt<1>}
              input rw: {addr : UInt<3>, en : UInt<1>, clk : Clock, flip rdata : UInt<1>, wmode : UInt<1>, wdata : UInt<1>, wmask : UInt<1>}
      
              mem memory:
                data-type => UInt<1>
                depth => 8
                reader => r
                writer => w
                readwriter => rw
                read-latency => 1
                write-latency => 1
                read-under-write => undefined
      
              memory.r <= r
              memory.w <= w
              memory.rw <= rw
      
      Signed-off-by: default avatarSchuyler Eldridge <schuyler.eldridge@sifive.com>
      8abf3085
  26. Aug 05, 2021
  27. Aug 04, 2021
  28. Aug 03, 2021