Align RoCCIO with new cloneType (#1270)
- Aligns RoCC with #1232. - Fixes #1268. Signed-off-by: Schuyler Eldridge <schuyler.eldridge@ibm.com>
This commit is contained in:
parent
f1bd9c99aa
commit
d0b46c5b8f
@ -52,8 +52,6 @@ class RoCCCoreIO(implicit p: Parameters) extends CoreBundle()(p) {
|
|||||||
val busy = Bool(OUTPUT)
|
val busy = Bool(OUTPUT)
|
||||||
val interrupt = Bool(OUTPUT)
|
val interrupt = Bool(OUTPUT)
|
||||||
val exception = Bool(INPUT)
|
val exception = Bool(INPUT)
|
||||||
|
|
||||||
override def cloneType = new RoCCCoreIO()(p).asInstanceOf[this.type]
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Base classes for Diplomatic TL2 RoCC units **/
|
/** Base classes for Diplomatic TL2 RoCC units **/
|
||||||
@ -64,7 +62,7 @@ abstract class LazyRoCC(implicit p: Parameters) extends LazyModule {
|
|||||||
val tlNode: TLNode = TLIdentityNode()
|
val tlNode: TLNode = TLIdentityNode()
|
||||||
}
|
}
|
||||||
|
|
||||||
class RoCCIO(outer: LazyRoCC)(implicit p: Parameters) extends RoCCCoreIO()(p) {
|
class RoCCIO(val outer: LazyRoCC)(implicit p: Parameters) extends RoCCCoreIO()(p) {
|
||||||
// Should be handled differently, eventually
|
// Should be handled differently, eventually
|
||||||
val ptw = Vec(p(RoccNPTWPorts), new TLBPTWIO)
|
val ptw = Vec(p(RoccNPTWPorts), new TLBPTWIO)
|
||||||
val fpu_req = Decoupled(new FPInput)
|
val fpu_req = Decoupled(new FPInput)
|
||||||
|
Loading…
Reference in New Issue
Block a user