gets method
- Logic other
Connects this Logic directly to other
.
Every time other
transitions (glitch
es), this signal will transition
the same way.
Implementation
void gets(Logic other) {
_assertConnectable(other);
// If we are connecting a `LogicStructure` to this simple `Logic`,
// then pack it first.
if (other is LogicStructure) {
// ignore: parameter_assignments
other = other.packed;
}
_connect(other);
_srcConnection = other;
other._registerConnection(this);
}