1. Jul 11, 2021
  2. Jul 09, 2021
  3. Jul 07, 2021
  4. Jun 30, 2021
  5. Jun 26, 2021
  6. Jun 23, 2021
    • Jack Koenig's avatar
      Fix VerilogMemDelays use before declaration (#2278) · 11128d93
      Jack Koenig authored
      The pass injects pipe registers immediately after the declaration of the
      memory. This can be problematic if the clock for the associated memory
      port is defined after the declaration of the memory. For any memory port
      clocks that are driven by non-ports, we now inject a wire before the
      pipe register declarations to be sure there are no
      use-before-declaration issues.
      11128d93
  7. Jun 22, 2021
  8. Jun 19, 2021
  9. Jun 18, 2021
  10. Jun 17, 2021
    • Schuyler Eldridge's avatar
      Add --start-from option (#2273) · c7eaa67d
      Schuyler Eldridge authored
      
      
      Add a new option to the FIRRTL compiler, "--start-from = <form>".  If
      used, this will cause the compiler to assume that the input FIRRTL
      circuit is already in the specific form.  It will then skip unnecessary
      passes given this information.
      
      E.g., if a user requests to run "firrtl -X verilog --start-from low"
      then the compiler will only run transforms necessary to get from low
      FIRRTL to Verilog.  Transforms necessary for ingesting FIRRTL IR will be
      run if needed (checks and type/kind/flow resolution).
      
      To implement this, a CurrentFirrtlStateAnnotation is added.  Advanced
      users can use this directly to tell the FIRRTL compiler exactly what
      transforms have already been run, including the ability to ignore checks
      or type/kind/flow resolution if they so desire.
      
      Signed-off-by: default avatarSchuyler Eldridge <schuyler.eldridge@sifive.com>
      c7eaa67d
    • Schuyler Eldridge's avatar
      Add Protocol Buffer emission (#2271) · d708d3f0
      Schuyler Eldridge authored
      
      
      * Add Protocol Buffer emission export
      
      This adds infrastructure and annotations that let a user emit a FIRRTL
      circuit as a Protocol Buffer.
      
      Fixes #1696.
      
      Signed-off-by: default avatarSchuyler Eldridge <schuyler.eldridge@sifive.com>
      
      * fixup! Add Protocol Buffer emission export
      d708d3f0
  11. Jun 16, 2021
    • Kevin Laeufer's avatar
      make PresetRegAnnotation public (#2254) · 117054bb
      Kevin Laeufer authored
      * make PresetRegAnnotation public
      
      this annotation is useful outside the firrtl compiler:
      - to implement a pass that creates registers which
        need to be initialized at the beginning of simulation
        (e.g., for formal verification)
      - to support preset registers in treadle
      
      * add PresetRegAnnotation test and deal with annotation correctly in RemoveReset pass
      117054bb
  12. Jun 15, 2021
  13. Jun 09, 2021
  14. Jun 08, 2021
  15. Jun 06, 2021
  16. Jun 05, 2021
  17. Jun 04, 2021
  18. Jun 02, 2021
  19. May 29, 2021
  20. May 28, 2021
  21. May 26, 2021
  22. May 22, 2021
    • sinofp's avatar
      Rewrite vlsi_mem_gen into a Firrtl Transform (#2202) · 8bca4152
      sinofp authored
      
      
      * Add GenVerilogMemBehaviorModelAnno & vlsiMemGen
      
      * Add CLI support for GenVerilogMemBehaviorModelAnno
      
      * Add simple test for GenVerilogMemBehaviorModelAnno
      
      * Fix for review
      
      1. rename case class Port(prefix, `type`) to Port(prefix, portType)
      2. fix AnnotatedMemoriesAnnotation collect function.
      3. fix bug that ModuleName is not correct.
      
      * Format DumpMemoryAnnotations & ReplSeqMemTests
      
      * Fix for review
      
      1. Inline genDecl, genPortSpec, genSequential, genCombinational
      2. Add DefAnnotatedMemory informations in header
      3. Change helpText
      4. Check output Verilog by Verilator, the code is from FirrtlRunners#lintVerilog
      
      * Fix ReadWritePort mask name
      
      Co-authored-by: default avatarJiuyang Liu <liu@jiuyang.me>
      Co-authored-by: default avatarmergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
      8bca4152