diff options
| author | Schuyler Eldridge | 2019-07-30 18:15:20 -0400 |
|---|---|---|
| committer | Schuyler Eldridge | 2019-07-31 18:39:37 -0400 |
| commit | 8ec50bfb99509f0af3d61b25192db8b01dc5f919 (patch) | |
| tree | acd339d633168c17ab835a546f38b5c0cfa862d6 /src/main/scala/chisel3/util | |
| parent | 08918522ff485363f440d549370cc1ec3205d8cd (diff) | |
Fix deprecated Vec usage in chisel3.util.LFSR16
Signed-off-by: Schuyler Eldridge <schuyler.eldridge@ibm.com>
Diffstat (limited to 'src/main/scala/chisel3/util')
| -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 } |
