| Age | Commit message (Collapse) | Author |
|
modified Logger slightly, added Primops object for utility functions, minor changes in Utils
|
|
sense for some applications, also fixed up printing to better match stanza implementation
|
|
printing to match stanza implementation
|
|
|
|
of printVars still missing. Added Logger class for debug printing
|
|
|
|
for unknown width. Also added test to check this
|
|
|
|
|
|
|
|
|
|
Changed DefMemory to be a non-vector type with a size member
|
|
AST -> String). Uses ANTLRv4 to generate concrete syntax parser
|
|
Change of FIRRTL semantics!
|
|
ASIC backend.
|
|
Assignments to a register are no longer affected by enclosing when
statements:
when p :
reg r : UInt,clk,reset
r := a
will lower to:
reg r : UInt,clk,reset
r := a
instead of:
reg r : UInt,clk,reset
when p : r := a
|
|
|
|
|
|
|
|
catching of initialization of accessors. Missing use case of accessing an accessor. Still need to update tests to pass
|
|
is unneeded
|
|
|
|
|
|
|
|
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.
|
|
|
|
|
|
|
|
|
|
|