Add missing cloneType method
@zhemao
This commit is contained in:
parent
19c526de59
commit
a56a502ced
@ -153,7 +153,11 @@ class ReorderQueueWrite[T <: Data](dType: T, tagWidth: Int) extends Bundle {
|
|||||||
}
|
}
|
||||||
|
|
||||||
class ReorderEnqueueIO[T <: Data](dType: T, tagWidth: Int)
|
class ReorderEnqueueIO[T <: Data](dType: T, tagWidth: Int)
|
||||||
extends DecoupledIO(new ReorderQueueWrite(dType, tagWidth))
|
extends DecoupledIO(new ReorderQueueWrite(dType, tagWidth)) {
|
||||||
|
|
||||||
|
override def cloneType =
|
||||||
|
new ReorderEnqueueIO(dType, tagWidth).asInstanceOf[this.type]
|
||||||
|
}
|
||||||
|
|
||||||
class ReorderDequeueIO[T <: Data](dType: T, tagWidth: Int) extends Bundle {
|
class ReorderDequeueIO[T <: Data](dType: T, tagWidth: Int) extends Bundle {
|
||||||
val valid = Bool(INPUT)
|
val valid = Bool(INPUT)
|
||||||
|
Loading…
Reference in New Issue
Block a user