Unpack into format String and a List of String arguments (identifiers)
Unpack into format String and a List of String arguments (identifiers)
This must be called after elaboration when Chisel nodes actually have names
Allow for appending Strings to Printables
Allow for appending Printables like Strings
Superclass of things that can be printed in the resulting circuit
Usually created using the custom string interpolator
p"..."
. Printable string interpolation is similar to String interpolation in Scala For example:printf(p"The value of wire = $wire\n")
This is equivalent to writing:
printf(p"The value of wire = %d\n", wire)
All Chisel data types have a method
.toPrintable
that gives a default pretty print that can be accessed viap"..."
. This works even for aggregate types, for example:Users can override the default behavior of
.toPrintable
in custom Bundle and Record types.