| Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
Code like
add(UInt<1>(1), SInt<1>(1))
was resulting in Verilog like
$signed(1'h1) + $signed(1'sh1)
which is incorrect: it computes -2, not 0. The fix is to zero-extend the
unsigned operand, e.g.
$signed({1'b0,1'h1}) + $signed(1'sh1)
|
|
conditional assignment
|
|
Constants in parser, and correctly subtract 1 (except when 0) when calculating width from num-bits of BigInt
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Updated tests to match. #29.
|
|
|
|
|
|
|
|
extract, not >>
|
|
|
|
|
|
an optimization that eliminated some when statements.
Added test case.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
invalid <> assignments.
|
|
|
|
indexed. Fixed various broken tests.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|