diff options
| author | Martin Schoeberl | 2019-01-25 23:24:01 -0800 |
|---|---|---|
| committer | Richard Lin | 2019-01-25 23:24:01 -0800 |
| commit | 5509cdd4c8332c53151e10ba5bdbe0684af1c05b (patch) | |
| tree | 15f4a7e8f83e0d249918bbce4198160fb2c5360f /src/test/scala/chiselTests/DontTouchSpec.scala | |
| parent | 4f5ec211cb59f9da37dbe91d0dfcb93c4d3d84c9 (diff) | |
WireDefault instead of WireInit, keep WireInit around (#986)
Diffstat (limited to 'src/test/scala/chiselTests/DontTouchSpec.scala')
| -rw-r--r-- | src/test/scala/chiselTests/DontTouchSpec.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/scala/chiselTests/DontTouchSpec.scala b/src/test/scala/chiselTests/DontTouchSpec.scala index 6759222c..f916b20a 100644 --- a/src/test/scala/chiselTests/DontTouchSpec.scala +++ b/src/test/scala/chiselTests/DontTouchSpec.scala @@ -27,7 +27,7 @@ class HasDeadCode(withDontTouch: Boolean) extends Module { val inst = Module(new HasDeadCodeChild(withDontTouch)) inst.io.a := io.a io.b := inst.io.b - val dead = WireInit(io.a + 1.U) + val dead = WireDefault(io.a + 1.U) if (withDontTouch) { dontTouch(dead) } |
