1. Feb 08, 2017
    • Jack Koenig's avatar
      Rework Attach to work on arbitrary Analog hierarchies (#415) · 2f4ae9b4
      Jack Koenig authored
      * Rework Attach to work on arbitrary Analog hierarchies
      
      If there are zero or one Analog sources in an Attach (source meaning
      wire or parent module port), then the Attach will be emitted as a simple
      point to point connection. In the general case, alias is used for
      simulation while forwards and backwards assigns for synthesis. Verilator
      does not currently support the general case so an `ifdef Verilator
      `error is emitted.
      
      * Add helper functions for creating WRef from Reg and Wire
      2f4ae9b4
    • Colin Schmidt's avatar
      Return a new circuit object after execution (#433) · 16238da2
      Colin Schmidt authored
      This fixes an issue I was having with my ClockListAnnotations being duplicated.
      
      h/t @azidar
      16238da2
  2. Feb 07, 2017
  3. Feb 04, 2017
  4. 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
  5. 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
  6. Jan 30, 2017
  7. 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
  8. Jan 24, 2017
  9. Jan 23, 2017
  10. Jan 21, 2017
  11. Jan 20, 2017
  12. Jan 06, 2017
  13. Dec 16, 2016
  14. Dec 15, 2016
  15. Dec 14, 2016
  16. 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
  17. Dec 08, 2016
  18. 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
  19. Dec 06, 2016
  20. Dec 02, 2016