LfsrDescriptor constructor
- BinaryPolynomial polynomial
Creates an LFSR descriptor using polynomial.
Implementation
LfsrDescriptor(this.polynomial) {
if (polynomial.degree < 1) {
throw RohdHclException('LFSR polynomial must have positive degree.');
}
if (!polynomial.coefficient(0)) {
throw RohdHclException(
'LFSR polynomial must have a non-zero constant coefficient.');
}
}