diff options
| author | Jim Lawson | 2016-04-26 13:37:39 -0700 |
|---|---|---|
| committer | Jim Lawson | 2016-04-26 13:37:39 -0700 |
| commit | 6183533596a1706c65cb20d07a9d42eadac32df2 (patch) | |
| tree | 18a215bf0b19b50d8de8cbaa815f9918d4c7b0b8 /src/test/scala/chiselTests/Vec.scala | |
| parent | 09958f63470697188e1ed1a01c7ea39b8c56e7ef (diff) | |
Replace deprecated usage in tests. Issue #149
Diffstat (limited to 'src/test/scala/chiselTests/Vec.scala')
| -rw-r--r-- | src/test/scala/chiselTests/Vec.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/scala/chiselTests/Vec.scala b/src/test/scala/chiselTests/Vec.scala index f48c1b63..5239c6ba 100644 --- a/src/test/scala/chiselTests/Vec.scala +++ b/src/test/scala/chiselTests/Vec.scala @@ -29,7 +29,7 @@ class TabulateTester(n: Int) extends BasicTester { class ShiftRegisterTester(n: Int) extends BasicTester { val (cnt, wrap) = Counter(Bool(true), n*2) - val shifter = Reg(Vec(UInt(width = log2Up(n)), n)) + val shifter = Reg(Vec(n, UInt(width = log2Up(n)))) (shifter, shifter drop 1).zipped.foreach(_ := _) shifter(n-1) := cnt when (cnt >= UInt(n)) { |
