1
0

Uncomment MemSerializedIO.cloneType()

Not sure why this was commented, but when I build this against Chisel3 it fails
without this override.
This commit is contained in:
Palmer Dabbelt 2016-02-04 15:28:46 -08:00
parent be424633c1
commit 62257e0b04

View File

@ -57,7 +57,7 @@ class MemPipeIO(implicit p: Parameters) extends ParameterizedBundle()(p) {
class MemSerializedIO(w: Int)(implicit p: Parameters) extends ParameterizedBundle()(p) {
val req = Decoupled(Bits(width = w))
val resp = Valid(Bits(width = w)).flip
//override def cloneType = new MemSerializedIO(w)(p).asInstanceOf[this.type]
override def cloneType = new MemSerializedIO(w)(p).asInstanceOf[this.type]
}
class MemSerdes(w: Int)(implicit p: Parameters) extends MIFModule