1. Apr 16, 2021
  2. Apr 14, 2021
    • Jared Barocsi's avatar
      Add indent parameter to Serializer.serialize() (#2177) · 20890bbd
      Jared Barocsi authored
      
      
      Using Utils.indent() gives deprecation warnings to use Serializer instead. However,
      the Serializer class itself doesn't provide a means to manually indent a FirrtlNode
      string a certain number of times.
      
      The indent variable, previously hardcoded to 0, is now exposed as a second parameter
      for the modified serialize function, and the old serialize function just calls the
      modified serialize with indents = 0 for binary compatibility
      
      Co-authored-by: default avatarMegan Wachs <megan@sifive.com>
      20890bbd
  3. Apr 12, 2021
  4. Apr 07, 2021
  5. Apr 06, 2021
  6. Apr 04, 2021
  7. Apr 02, 2021
  8. Mar 31, 2021
  9. Mar 30, 2021
  10. Mar 27, 2021
  11. Mar 26, 2021
  12. Mar 23, 2021
  13. Mar 20, 2021
    • Jack Koenig's avatar
      Legalize neg: -x becomes 0 - x (#2128) · 49b82324
      Jack Koenig authored
      This fixes an error with negating a negative SInt literal and a
      [debatable] lint warning in Verilator when negating any value.
      
      This behavior matches that of Chisel (which directly emits the 0 - x
      already).
      49b82324
  14. Mar 19, 2021
  15. Mar 17, 2021
    • Jack Koenig's avatar
      Fix issue where inlined cvt could cause crash (#2124) · 94d1bee4
      Jack Koenig authored
      Due to inlining of Boolean expressions, the following circuit is handled
      directly by the VerilogEmitter:
      
      input a: UInt<4>
      input b: SInt<1>
      output o: UInt<5>
      o <= dshl(a, asUInt(cvt(b)))
      
      Priot to this change, this could crash due to mishandling of cvt in the
      logic to inject parentheses based on Verilog precedence rules.
      
      This is a corner case, but similar bugs would drop up if we open up the
      VerilogEmitter to more expression inlining.
      94d1bee4
  16. Mar 14, 2021
  17. Mar 11, 2021
  18. Mar 10, 2021
  19. Mar 09, 2021
  20. Mar 05, 2021
  21. Mar 04, 2021
  22. Mar 03, 2021