diff options
| author | Andrew Waterman | 2019-05-10 00:36:40 -0700 |
|---|---|---|
| committer | edwardcwang | 2019-05-10 07:07:35 -0700 |
| commit | af90047db4f5507c5faf4b1e205c4eb8e5975646 (patch) | |
| tree | 982d64f9c165f316fe3eaaca18d520c30862930b /src | |
| parent | e02d25c2d9310291a3084821713bd8d9b2325651 (diff) | |
Fix LFSR regression
Diffstat (limited to 'src')
| -rw-r--r-- | src/main/scala/chisel3/util/LFSR.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/scala/chisel3/util/LFSR.scala b/src/main/scala/chisel3/util/LFSR.scala index 6ee6be5d..5c295029 100644 --- a/src/main/scala/chisel3/util/LFSR.scala +++ b/src/main/scala/chisel3/util/LFSR.scala @@ -37,7 +37,7 @@ object LFSR16 { @chiselName def apply(increment: Bool = true.B): UInt = Vec( FibonacciLFSR - .maxPeriod(16, seed = Some(BigInt(1) << 15)) + .maxPeriod(16, increment, seed = Some(BigInt(1) << 15)) .asBools .reverse ) .asUInt |
