Combinational constructor

Combinational(
  1. List<Conditional> _conditionals,
  2. {String name = 'combinational'}
)

Constructs a new Combinational which executes conditionals in order procedurally.

If any "write after read" occurs, then a WriteAfterReadException will be thrown since it could lead to a mismatch between simulation and synthesis. See Combinational.ssa for more details.

Implementation

Combinational(super._conditionals, {super.name = 'combinational'}) {
  _execute(); // for initial values
  for (final driver in _assignedDriverToInputMap.keys) {
    driver.glitch.listen((args) {
      _execute();
    });
  }
}