RadixEncoder constructor
- int radix
Constructor for setting up a radix encoding block
Implementation
RadixEncoder(this.radix) {
if (pow(2.0, log2Ceil(radix)) != radix) {
throw RohdHclException('radix must be a power of 2');
}
}
Constructor for setting up a radix encoding block
RadixEncoder(this.radix) {
if (pow(2.0, log2Ceil(radix)) != radix) {
throw RohdHclException('radix must be a power of 2');
}
}