Sequential constructor
Constructs a Sequential single-triggered by the positive edge of clk.
If reset is provided, then all signals driven by this block will be
conditionally reset when the signal is high. The default reset value is to
0, but if resetValues is provided then the corresponding value
associated with the driven signal will be set to that value instead upon
reset. If a signal is in resetValues but not driven by any other
Conditional in this block, it will be driven to the specified reset
value.
If asyncReset is true, the reset signal (if provided) will be treated
as an async reset. If asyncReset is false, the reset signal will be
treated as synchronous.
Implementation
Sequential(
Logic clk,
List<Conditional> conditionals, {
Logic? reset,
Map<Logic, dynamic>? resetValues,
bool asyncReset = false,
bool allowMultipleAssignments = true,
String name = 'sequential',
}) : this.multi(
[clk],
conditionals,
name: name,
reset: reset,
asyncReset: asyncReset,
resetValues: resetValues,
allowMultipleAssignments: allowMultipleAssignments,
);