diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/main/scala/chisel3/util/LFSR.scala | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/main/scala/chisel3/util/LFSR.scala b/src/main/scala/chisel3/util/LFSR.scala index 0458bd90..5fc778fb 100644 --- a/src/main/scala/chisel3/util/LFSR.scala +++ b/src/main/scala/chisel3/util/LFSR.scala @@ -36,10 +36,10 @@ object LFSR16 { @deprecated("Use chisel3.util.random.LFSR(16) for a 16-bit LFSR", "3.2") @chiselName def apply(increment: Bool = true.B): UInt = - Vec( FibonacciLFSR - .maxPeriod(16, increment, seed = Some(BigInt(1) << 15)) - .asBools - .reverse ) + VecInit( FibonacciLFSR + .maxPeriod(16, increment, seed = Some(BigInt(1) << 15)) + .asBools + .reverse ) .asUInt } |
