FlcData class
FLC data parsed from a v5 trie-based FLC hierarchy JSON file.
Constructors
- FlcData.empty()
-
Create empty FLC data (no trace information available).
factory
-
FlcData.fromEmbeddedAttributes({required List<
String> files, required Map<String, dynamic> modules}) -
Parse one module's embedded
rohd.src_traceattribute.factory -
FlcData.fromJson(Map<
String, dynamic> json) -
Parse FLC data from a v5/v6 trie-based hierarchy JSON.
factory
-
FlcData.fromNetlistJson(Map<
String, dynamic> json) -
Parse embedded
rohd.src_traceattributes from a Yosys netlist.factory
Properties
-
files
→ List<
String> -
Global file table (index → path).
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isEmpty → bool
-
Whether any FLC data was found.
no setter
-
moduleNames
→ Set<
String> -
All module names that have FLC data.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
instanceNamesFor(
String moduleName) → Set< String> -
Instance names recorded for
moduleName, or empty if none. -
lookupByRohdLine(
String fileSuffix, {int? line}) → List< ({FlcEntry entry, String module, String signal})> -
Reverse lookup: find all (moduleName, signalName, entry) tuples whose
ROHD source frames include the given
fileSuffixandline. -
lookupInstance(
String moduleName, String instanceName) → List< FlcFrame> ? - Look up FLC frames for an instance (submodule) in a given module.
-
lookupInstanceEntry(
String moduleName, String instanceName) → FlcEntry? - Look up the full FlcEntry for an instance (includes SV frame if present).
-
lookupSignal(
String moduleName, String signalName) → List< FlcFrame> ? - Look up FLC frames for a signal in a given module.
-
lookupSignalEntry(
String moduleName, String signalName) → FlcEntry? - Look up the full FlcEntry for a signal (includes SV frame if present).
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
signalNamesFor(
String moduleName) → Set< String> -
Signal names recorded for
moduleName, or empty if none. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited