ElseIf constructor

ElseIf(
  1. Logic condition,
  2. List<Conditional> then
)

If condition is 1, then then will be executed.

Implementation

ElseIf(this.condition, this.then) {
  if (condition.width != 1) {
    throw PortWidthMismatchException(condition, 1);
  }
}