1. Jan 06, 2017
  2. Dec 16, 2016
  3. Dec 15, 2016
  4. Dec 14, 2016
  5. Dec 09, 2016
    • Jim Lawson's avatar
      Copy (explicitly) test resource to targetdir. (#392) · 4d5e6fc5
      Jim Lawson authored
      If we execute tests somewhere other than the root of the firrtl project directory (in a parent project directory for examples), the resource file may not be where we expect it.
      Also clean up imports.
      4d5e6fc5
    • Jim Lawson's avatar
      Clk2clock - rename the implicit "clk" module input "clock" (#387) · cfb3a489
      Jim Lawson authored
      * Rename implict module "clk" input to "clock".
      This doesn't rename all the "self-contained" test instances.
      nor the memory "clk" enables,
      nor the implict module "clk"s in the regress .fir files.
      
      * Consistency: rename implict module "clk" input to "clock" in "self-contained" test instances.
      This doesn't rename the memory "clk" enables, nor the implict module "clk"s in the regress .fir files.
      cfb3a489
  6. Dec 08, 2016
  7. Dec 07, 2016
    • Chick Markley's avatar
      Fixes for Annotation serialized/deserialize (#390) · 65b61b4a
      Chick Markley authored
      * Fixes for Annotation serialized/deserialize
      
      Made serializer agree with deserializer on text representation
      Re-ordered serializations of Named subclasses to be C or C.m or C.m.c where C=circuit, m=module, c=component
      Note: component may contain dots
      Added serialize deserialize tests to AnnotationSpec
      Did some style cleanup on AnnotationSpec
      Added explicit return tupe on SimpleTransformSpec#execute
      
      * Make explicit Util.error
      remove commented code
      
      * Make Annotation#serialize a nicer format
      fix import there and remove new on case class
      
      * In firrtl Driver.execute use annotations passed in through optionsManager#firrtlOptions if nonEmpty
       otherwise read the annotations in from an annotations file
       Add new option to override this behavior, --force-append-anno-file will append annotations in file
       to any that are passed in
      A few other style fixes to Driver: remove new with case classes.  don't use match when if(boolean) will do
      
      * Added tests of malformed component and circuit names
      65b61b4a
    • Jack Koenig's avatar
      Update Travis build configuration (#388) · ef4b9e59
      Jack Koenig authored
      * Copy firrtl.jar to chisel3/lib to ensure correct version of Firrtl is used by
      chisel3 tests
      * Remove make commands in favor staying in current sbt session and warmed JVM
      ef4b9e59
  8. Dec 06, 2016
  9. Dec 02, 2016
  10. Dec 01, 2016
  11. Nov 24, 2016
  12. Nov 22, 2016
    • Adam Izraelevitz's avatar
      9a967a27
    • Adam Izraelevitz's avatar
      Rewrote inline xform to fix quadratic perf. bug (#377) · aad8e09f
      Adam Izraelevitz authored
      * Rewrote inline xform to fix quadratic perf. bug
      
      Turns out caching previously inlined modules is not useful
      
      The previous algorithm in a module, would flatten an instance's children, then
      flatten that instance. This caused all instances to be effectively
      inlined the number of times of its depth in the instance hierarchy,
      making it O(n*d*s), where n is the number of instances, and d is the depth
      of the instance, and s is the number of statements in the instance.
      
      The new algorithm directly inlines a module by keeping track of the
      parents of that instance, making it constant time with the number of
      instantiated instances.
      
      * Minor style fixes
      aad8e09f
  13. Nov 16, 2016
  14. Nov 15, 2016
    • Adam Izraelevitz's avatar
      Fix wrong omitting same clocked nondirect children (#374) · a029b9bb
      Adam Izraelevitz authored
      * Fix wrong omitting same clocked nondirect children
      
      * Minor style fixes
      a029b9bb
    • Adam Izraelevitz's avatar
      Bugfix inferwidth (#372) · cf1372d5
      Adam Izraelevitz authored
      * Bugfix: removed recursive removal in infer widths
      
      This will certainly lead to more uninferred width errors, but now widths
      that were previously incorrectly inferred are now correctly uninferred.
      
      An example is:
        reg r : UInt, clock with: (reset => (reset, UInt<2>(3)))
        node x = add(r, r)
        r <= x
      
      Here, r's width follows the following formula, which cannot be solved:
      
      rWidth >= max(max(rWidth, rWidth) + 1, 2)
      
      * Added optimizations to for better width inference
      
      Also added exceptions for uninferred widths when checking DoPrim width
      legality to not trigger compiler error
      
      * Added additional optimizations
      
      Required for passing all chisel3 tests
      cf1372d5
  15. Nov 11, 2016
  16. Nov 10, 2016
    • azidar's avatar
      Added optimizations to for better width inference · 76f91f31
      azidar authored
      Also added exceptions for uninferred widths when checking DoPrim width
      legality to not trigger compiler error
      76f91f31
    • azidar's avatar
      Bugfix: removed recursive removal in infer widths · ba417a89
      azidar authored
      This will certainly lead to more uninferred width errors, but now widths
      that were previously incorrectly inferred are now correctly uninferred.
      
      An example is:
        reg r : UInt, clock with: (reset => (reset, UInt<2>(3)))
        node x = add(r, r)
        r <= x
      
      Here, r's width follows the following formula, which cannot be solved:
      
      rWidth >= max(max(rWidth, rWidth) + 1, 2)
      ba417a89
  17. Nov 08, 2016
  18. Nov 06, 2016
    • Donggyu's avatar
      Fix CHIRRTL bugs (#355) · e05ca2b2
      Donggyu authored
      * handle uninferred ports gracefully in RemoveCHIRRTL
      
      memory port directions are not inferred during CInferMDir if not being used, so handle them properly in RemoveCHIRRTL
      
      * fix CInferTypes
      e05ca2b2
  19. Nov 05, 2016
    • Jack Koenig's avatar
      Cleanup license at top of every file (#364) · 82da5e79
      Jack Koenig authored
      Replace with more sensible comment to see LICENSE rather than including the
      whole license in every file
      82da5e79
    • azidar's avatar
      Add a pass to deduplicate modules · 1c36656f
      azidar authored
      1c36656f
    • jackkoenig's avatar
      Refactor Compilers and Transforms · 8fa9429a
      jackkoenig authored
      * Transform Ids now handled by Class[_ <: Transform] instead of magic numbers
      * Transforms define inputForm and outputForm
      * Custom transforms can be inserted at runtime into compiler or the Driver
      * Current "built-in" custom transforms handled via above mechanism
      * Verilog-specific passes moved to the Verilog emitter
      8fa9429a
  20. Nov 04, 2016
  21. Nov 02, 2016
  22. Nov 01, 2016