Conditional class Null safety

Represents an some logical assignments or actions that will only happen under certain conditions.

Implementers

Constructors

Conditional()

Properties

hashCode int
The hash code for this object.
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

driverInput(Logic driver) Logic
Gets the input port associated with driver.
driverValue(Logic driver) LogicValue
Gets the value that should be used for execution for the input port associated with driver.
execute() Set<Logic>
Executes the functionality represented by this Conditional.
getConditionals() List<Conditional>
Lists of all Conditionals contained within this Conditional (not including itself).
getDrivers() List<Logic>
Lists all drivers, recursively including all sub-Conditionals drivers.
getReceivers() List<Logic>
Lists all receivers, recursively including all sub-Conditionals receivers.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
receiverOutput(Logic receiver) Logic
Gets the output port associated with receiver.
toString() String
A string representation of this object.
inherited
verilogContents(int indent, Map<String, String> inputsNameMap, Map<String, String> outputsNameMap, String assignOperator) String
Returns a String of SystemVerilog to be used in generated output.

Operators

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

Static Methods

calcPadding(int indent) String
Calculates an amount of padding to provie at the beginning of each new line based on indent.