diff options
| author | Jim Lawson | 2016-06-21 10:13:51 -0700 |
|---|---|---|
| committer | Jim Lawson | 2016-06-21 10:13:51 -0700 |
| commit | 083610b2faa456dfccc4365dd115565d36e522fa (patch) | |
| tree | 40df9237ddc8789f24d924c0cfa63a066fcc1f1c /src/test/scala/chiselTests/Direction.scala | |
| parent | d675043717593fb7e96fb0f1952debbeb7f20a57 (diff) | |
Most of the remaining tests with Module, IO wrapping.
Diffstat (limited to 'src/test/scala/chiselTests/Direction.scala')
| -rw-r--r-- | src/test/scala/chiselTests/Direction.scala | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/test/scala/chiselTests/Direction.scala b/src/test/scala/chiselTests/Direction.scala index dd2f6572..28b00adb 100644 --- a/src/test/scala/chiselTests/Direction.scala +++ b/src/test/scala/chiselTests/Direction.scala @@ -8,10 +8,10 @@ import org.scalatest.prop._ import Chisel.testers.BasicTester class DirectionHaver extends Module { - val io = new Bundle { - val in = UInt(INPUT, 32) - val out = UInt(OUTPUT, 32) - } + val io = IO(new Bundle { + val in = Input(UInt(32)) + val out = Output(UInt(32)) + }) } class GoodDirection extends DirectionHaver { |
