ApbTracker class

A tracker for the ApbInterface.

Inheritance

Constructors

ApbTracker({required ApbInterface intf, String name = 'apbTracker', bool dumpJson = true, bool dumpTable = true, String? outputFolder, int timeColumnWidth = 12, int selectColumnWidth = 4, int addrColumnWidth = 12, int dataColumnWidth = 12})
Creates a new tracker for ApbInterface.

Properties

dumpJson bool
If true, will dump a JSON file log to jsonFileName.
finalinherited
dumpTable bool
If true, will dump an ASCII table log to tableFileName.
finalinherited
hashCode int
The hash code for this object.
no setterinherited
jsonFileName String
The path to the generated JSON log file, if enabled by dumpJson.
no setterinherited
name String
The name of this Tracker, used for naming output files.
finalinherited
outputFolder String?
An optional output directory for the logs.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tableFileName String
The path to the generated ASCII table log file, if enabled by dumpTable.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
record(ApbPacket trackable, {Map<String, String?> defaults = const {}}) → void
Records trackable into all enabled logs.
inherited
terminate() Future<void>
Cleans up and finalizes all logs.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

addrField → const String
Tracker field for address.
dataField → const String
Tracker field for data.
selectField → const String
Tracker field for select.
slverrField → const String
Tracker field for errors.
strobeField → const String
Tracker field for strobe.
timeField → const String
Tracker field for simulation time.
typeField → const String
Tracker field for type (R/W).