tile: intSinkNode belongs in HasExternalInterrupts
This commit is contained in:
parent
11e5b620f8
commit
15c54b1c5a
@ -135,7 +135,6 @@ abstract class BaseTile(tileParams: TileParams, val crossing: CoreplexClockCross
|
|||||||
protected val tlMasterXbar = LazyModule(new TLXbar)
|
protected val tlMasterXbar = LazyModule(new TLXbar)
|
||||||
protected val tlSlaveXbar = LazyModule(new TLXbar)
|
protected val tlSlaveXbar = LazyModule(new TLXbar)
|
||||||
protected val intXbar = LazyModule(new IntXbar)
|
protected val intXbar = LazyModule(new IntXbar)
|
||||||
protected val intSinkNode = IntSinkNode(IntSinkPortSimple())
|
|
||||||
|
|
||||||
def connectTLSlave(node: TLNode, bytes: Int) {
|
def connectTLSlave(node: TLNode, bytes: Int) {
|
||||||
DisableMonitors { implicit p =>
|
DisableMonitors { implicit p =>
|
||||||
|
@ -22,6 +22,7 @@ class TileInterrupts(implicit p: Parameters) extends CoreBundle()(p) {
|
|||||||
trait HasExternalInterrupts { this: BaseTile =>
|
trait HasExternalInterrupts { this: BaseTile =>
|
||||||
|
|
||||||
val intInwardNode = intXbar.intnode
|
val intInwardNode = intXbar.intnode
|
||||||
|
protected val intSinkNode = IntSinkNode(IntSinkPortSimple())
|
||||||
intSinkNode := intXbar.intnode
|
intSinkNode := intXbar.intnode
|
||||||
|
|
||||||
val intcDevice = new Device {
|
val intcDevice = new Device {
|
||||||
|
Loading…
Reference in New Issue
Block a user