ApbTracker constructor
Creates a new tracker for ApbInterface.
If the selectColumnWidth
is set to 0, the field will be omitted.
Implementation
ApbTracker({
required ApbInterface intf,
String name = 'apbTracker',
super.dumpJson,
super.dumpTable,
super.outputFolder,
int timeColumnWidth = 12,
int selectColumnWidth = 4,
int addrColumnWidth = 12,
int dataColumnWidth = 12,
}) : super(name, [
TrackerField(timeField, columnWidth: timeColumnWidth),
if (selectColumnWidth > 0)
TrackerField(selectField, columnWidth: selectColumnWidth),
const TrackerField(typeField, columnWidth: 1),
TrackerField(addrField, columnWidth: addrColumnWidth),
TrackerField(dataField, columnWidth: dataColumnWidth),
const TrackerField(strobeField, columnWidth: 4),
if (intf.includeSlvErr)
const TrackerField(slverrField, columnWidth: 1),
]);