From 54c57837d357af7d629bfe591b55fe645cd0ca9d Mon Sep 17 00:00:00 2001 From: Andrew Waterman Date: Fri, 24 Jul 2015 19:00:29 -0700 Subject: 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. --- src/test/scala/ChiselTests/ComplexAssign.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/test') 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] } -- cgit v1.2.3