1. Jan 31, 2023
  2. Jan 28, 2023
  3. Jan 27, 2023
  4. Jan 25, 2023
  5. Jan 21, 2023
  6. Jan 19, 2023
  7. Jan 18, 2023
  8. Jan 16, 2023
  9. Jan 15, 2023
  10. Jan 14, 2023
  11. Jan 13, 2023
    • Will Dietz's avatar
      Support zero-width integer literals. (#2932) · fc3b4a08
      Will Dietz authored
      * assert{Inferred,Known}Width: tweak to support width of zero.
      
      Can't create -1.S(0.W), special-case zero-width.
      
      * Bits: nicer error messages for zero-width
      
      * Support zero-width integer literals.
      
      These are in the FIRRTL language specification now
      and supported by both SFC + MFC.
      
      For SInt, special-case handle zero-width as not needing a sign bit.
      
      Zero-width literals must be explicitly zero-width (`0.U(0.W)`);
      literals such as `0.U` are (still) at least 1-bit.
      
      * check zero-width to bool conversion
      
      * onehot test
      
      * UIntOps: test a few operations.
      
      * SIntOps: test a few operations
      
      * {S,U}IntOps: touchup test description, now includes head/tail/pad.
      
      * ChiselSpec: Fix assert{Known,Inferred}Width for zero-width.
      
      Specifically, fix the inferred-width check.
      
      Start from zero-width literal, otherwise 0.U will need 1 bit.
      
      * WidthSpec: update inferred zero-width test
      fc3b4a08
  12. Jan 12, 2023
  13. Jan 11, 2023