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:
parent
be424633c1
commit
62257e0b04
@ -57,7 +57,7 @@ class MemPipeIO(implicit p: Parameters) extends ParameterizedBundle()(p) {
|
|||||||
class MemSerializedIO(w: Int)(implicit p: Parameters) extends ParameterizedBundle()(p) {
|
class MemSerializedIO(w: Int)(implicit p: Parameters) extends ParameterizedBundle()(p) {
|
||||||
val req = Decoupled(Bits(width = w))
|
val req = Decoupled(Bits(width = w))
|
||||||
val resp = Valid(Bits(width = w)).flip
|
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
|
class MemSerdes(w: Int)(implicit p: Parameters) extends MIFModule
|
||||||
|
Loading…
Reference in New Issue
Block a user