diff options
| author | Andrew Waterman | 2015-07-24 19:00:29 -0700 |
|---|---|---|
| committer | Andrew Waterman | 2015-07-24 19:00:29 -0700 |
| commit | 54c57837d357af7d629bfe591b55fe645cd0ca9d (patch) | |
| tree | d84cde66d2c509347d4c53cb7f61fd8099eebad8 /src/test | |
| parent | 90cf2623a3491c5b5bc076e2e9f8c84a3e9aa86d (diff) | |
Undo doCloneType; fix collectElts shenanigans
We now call collectElts when the module stack is popped,
rather than having to do it all over the place.
Diffstat (limited to 'src/test')
| -rw-r--r-- | src/test/scala/ChiselTests/ComplexAssign.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/scala/ChiselTests/ComplexAssign.scala b/src/test/scala/ChiselTests/ComplexAssign.scala index fb335aed..bcc49543 100644 --- a/src/test/scala/ChiselTests/ComplexAssign.scala +++ b/src/test/scala/ChiselTests/ComplexAssign.scala @@ -3,7 +3,7 @@ import Chisel._ class Complex[T <: Data](val re: T, val im: T, dir: Direction = OUTPUT) extends Bundle(dir) { - override def doCloneType: this.type = + override def cloneType: this.type = new Complex(re.cloneType, im.cloneType, dir).asInstanceOf[this.type] } |
