diff options
| author | Andrew Waterman | 2016-01-28 12:19:33 -0800 |
|---|---|---|
| committer | Andrew Waterman | 2016-01-28 12:19:33 -0800 |
| commit | d7998e4f86a417a9f07ee02f65ef7c508b00809d (patch) | |
| tree | 767a04718b16750b33dd4e2d629d3e836bb7f637 /src/test/scala/chiselTests/UIntOps.scala | |
| parent | 41674d5e130f64d7489fdb8583b8f4ad88b64aeb (diff) | |
| parent | 7eff2b0a16e1ca982c227bd498720981c883686b (diff) | |
Merge branch 'scalastyle'
Diffstat (limited to 'src/test/scala/chiselTests/UIntOps.scala')
| -rw-r--r-- | src/test/scala/chiselTests/UIntOps.scala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/scala/chiselTests/UIntOps.scala b/src/test/scala/chiselTests/UIntOps.scala index 9affb511..bb0b0f06 100644 --- a/src/test/scala/chiselTests/UIntOps.scala +++ b/src/test/scala/chiselTests/UIntOps.scala @@ -32,7 +32,7 @@ class UIntOps extends Module { io.timesout := (a * b)(15, 0) io.divout := a / Mux(b === UInt(0), UInt(1), b) // io.modout := a % b - // TODO: + // TODO: io.modout := UInt(0) io.lshiftout := (a << b(3, 0))(15, 0) io.rshiftout := a >> b @@ -99,7 +99,7 @@ class UIntOpsSpec extends ChiselPropSpec with Matchers { property("Bools cannot be created from >1 bit UInts") { a [Exception] should be thrownBy { elaborate(new BadBoolConversion) } } - + property("UIntOps should elaborate") { elaborate { new UIntOps } } |
