LogicList extension
Helper evaluation methods for printing aligned arithmetic bitvectors.
Methods
-
listString(
String name, {int prefix = 10, int? alignHigh, int? sepPos, bool header = false, String sepChar = '*', int alignLow = 0, int extraSpace = 0, int shift = 0, bool intValue = false, bool markDown = false}) → String -
Print aligned bitvector with an optional header from List
. name
is printed at the LHS of the line, trimmed byprefix
.prefix
is the distance from the margin bebore the vector is printed.alignHigh
is highest column (MSB) to which to alignalignLow
will trim the vector below this bit position (LSB).shift
will allow you to shift your list positions You can insert a separatorsepChar
at positionsepPos
. A header can be printed by settingheader
to true. Markdown format can be produced by settingmarkDown
to true. The output can have space by settingextraSpace
ifintValue
is true, then the integer value (signed version in parens) will be printed at the end of the vector.