1. Feb 15, 2022
  2. Feb 14, 2022
  3. Feb 04, 2022
  4. Feb 03, 2022
    • Jack Koenig's avatar
      Tweak Bundle._elementsImpl (#2390) · 1b05a14a
      Jack Koenig authored
      
      
      * Change type of Bundle._elementsImpl to Iterable
      
      It was previously SeqMap (ListMap on Scala 2.12). This change gives us
      more freedom to optimize the implementation without breaking binary
      compatibility. It is scala.collection.Iterable because it is perfectly
      fine to return mutable collections (like Arrays) since the only use is
      to Iterate on them.
      
      * Disallow users implementing Bundle._elementsImpl
      
      Currently, it would result in a runtime linkage error. This turns it
      into a compile-time error.
      
      Co-authored-by: default avatarmergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
      1b05a14a
    • Jack Koenig's avatar
      Tweak new mem port clock warnings (#2389) · 538e223a
      Jack Koenig authored
      Use Builder.deprecated instead of Builder.warning so that the warnings
      are aggregated by source locator to prevent spamming the screen with
      duplicated warnings.
      538e223a
  5. Feb 02, 2022
    • Jack Koenig's avatar
      551854b2
    • Aditya Naik's avatar
      Optional clock param for memory ports (#2333) · 465805ec
      Aditya Naik authored
      
      
      Warn if clock at memory instantiation differs from clock bound at port
      creation and port clock is not manually passed
      
      Co-authored-by: default avatarJack Koenig <koenig@sifive.com>
      465805ec
    • Chick Markley's avatar
      Chisel plugin bundle elements handler (#2306) · 237200a4
      Chick Markley authored
      
      
      Adds generation of `Bundle.elements` method to the chores done by the compiler plugin
      For each `Bundle` find the relevant visible Chisel field members and construct a
      hard-coded list of the elements and their names implemented as `_elementsImpl`
      
      For more details: See plugins/README.md
      
      - Should be no change in API
      - Handles inheritance and mixins
      - Handles Seq[Data]
      - Tests in BundleElementSpec
      
      Co-authored-by: default avatarchick <chick.markley@sifive.com>
      Co-authored-by: default avatarJack Koenig <koenig@sifive.com>
      237200a4
    • Jack Koenig's avatar
      Improve error reporting (#2376) · ff2e9c92
      Jack Koenig authored
      * Do not trim stack traces of exceptions with no stack trace
      
      This prevents us from accidentally giving stack traces to exceptions
      that don't have them and giving misleading messages telling users to use
      --full-stacktrace when it won't actually do anything.
      
      Also deprecate ChiselException.chiselStackTrace which is no longer being
      used anywhere in this codebase.
      
      * Add exception class for multiple-errors reported
      
      New chisel3.internal.Errors replaces old anonymous class that would show
      up as chisel3.internal.ErrorLog$$anon$1 in error messages.
      
      * Add new option --throw-on-first-error
      
      This tells Chisel not to aggregate recoverable errors but instead to
      throw an exception on the first one. This gives a stack trace for users
      who need it for debugging.
      ff2e9c92
  6. Jan 30, 2022
  7. Jan 29, 2022
  8. Jan 28, 2022
  9. Jan 27, 2022
  10. Jan 21, 2022
  11. Jan 20, 2022
  12. Jan 19, 2022
  13. Jan 18, 2022
  14. Jan 13, 2022
  15. Jan 12, 2022
  16. Jan 11, 2022
  17. Jan 08, 2022
  18. Dec 22, 2021
  19. Dec 21, 2021