1. Feb 02, 2017
    • Chick Markley's avatar
      Fix anno in backend (#428) · 32af1d4f
      Chick Markley authored
      * fixed up impementation of deleteDirectoryHierarchy
      Added a few more tests
      
      * Round 2 of moving verilog to target dir
      Only create .f file if some files have been moved
      Some small style fixes in Driver
      Restored lost functionality to add -f argument in verilogToCpp
      Fixed loadAnnotations to add targetDir regardless of annotations arriving from file or through options
      32af1d4f
    • Jim Lawson's avatar
      Fetch resource files as resources. (#399) · a017bf38
      Jim Lawson authored
      This is similar to pr #392 - fetch the resource as a resource, not as a random file otherwise the test will fail if it is executed anywhere outside of the actual source directory.
      a017bf38
  2. Feb 01, 2017
    • Jack Koenig's avatar
      Replace createTempDirectory with createTestDirectory (#427) · ae6b0ed3
      Jack Koenig authored
      Will place tests in ./test_run_dir/ instead of /tmp/
      ae6b0ed3
    • Chick Markley's avatar
      Blackboxhelper (#418) · 568f25b2
      Chick Markley authored
      * First pass at implementing a annotation based mechanism to move black box verilator files into the target directory
      
      * A little bit of style cleanup
      
      * A little bit of style cleanup
      
      * Fix the driver, wasn't appending targetDir properly
      Add some docs
      
      * test had wrong value now that targetdir is added to annnos
      
      * Now saves a list of all black box verilog files moved into target directory.
      Then creates a file black_box_verilog_files.f that contains this list with -v prepended to each line
      
      * Made black box source helper be low to low form
      Added it to the verilog compiler transforms
      Added a test to make sure it got there
      
      * targetDir annotation is targeted to a CircuitName("All")
      568f25b2
  3. Jan 30, 2017
  4. Jan 28, 2017
    • Angie Wang's avatar
      Fix signed types (#422) · 7240b4f6
      Angie Wang authored
      * type conversions between sint/fixed and uint added at memory interfaces for replseqmem
      
      * turns out asFixed requires bp as constant in PrimOps (really should be documented)
      
      * fixed legalizeconnects to handle FixedPt
      
      * added tests for replseqmem failure with signed types
      7240b4f6
    • Jim Lawson's avatar
      Move BackendCompilationUtilities into a util package for use by chisel3. (#400) · 91570ec8
      Jim Lawson authored
      * Move BackendCompilationUtilities into a util package for use by chisel3.
      Some of this could be moved into a more general tools package, but since chisel3 already has a dependency on firrtl ...
      
      * Push util down into firrtl so as not to conflict with scala.util.
      91570ec8
  5. Jan 24, 2017
  6. Jan 23, 2017
  7. Jan 21, 2017
  8. Jan 20, 2017
  9. Jan 06, 2017
  10. Dec 16, 2016
  11. Dec 15, 2016
  12. Dec 14, 2016
  13. 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
  14. Dec 08, 2016
  15. 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
  16. Dec 06, 2016
  17. Dec 02, 2016
  18. Dec 01, 2016
  19. Nov 24, 2016
  20. 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