Chisel Tutorial - www-inst.eecs.berkeley.edu
2012-1-23 · Chisel datatypes are used to specify the type of values held in state elements or flowing on wires. Whilehardware designs ultimately operate on vectors of binary digits, other more abstract representations forvalues allow clearer specifications and help the tools generate more optimal circuits. In Chisel, a raw col-lection of bits is represented by theBitstype. Signed and unsigned integers are considered subsets offixed-point numbers and are represented by typesFixandUFixrespectively. Signed fixed-point numbers,including integers, are represented using two’s-complement format. Boolean values are represented as typeBool. Note that these types are distinct from Scala’s builtin types such asInt. Additionally, Chisel …
Get Price