summaryrefslogtreecommitdiff
path: root/src/main/scala/chisel3/util/LFSR.scala
diff options
context:
space:
mode:
authorSchuyler Eldridge2019-08-01 16:26:08 -0400
committerGitHub2019-08-01 16:26:08 -0400
commitb2a1bd7a10977d3331fee3022ec490a1aa1e0e17 (patch)
tree059f29769a09d423b1f4e274ecce56ce570c0467 /src/main/scala/chisel3/util/LFSR.scala
parentad396ea1a9c06abbe29c52802adbc6c087db0401 (diff)
parent6c65a28756b8bb615479b1bcc420b28994419700 (diff)
Merge pull request #1139 from freechipsproject/deprecations-are-serious-business
Remove Deprecations since before 3.2
Diffstat (limited to 'src/main/scala/chisel3/util/LFSR.scala')
-rw-r--r--src/main/scala/chisel3/util/LFSR.scala8
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
}