tile: intSinkNode belongs in HasExternalInterrupts

This commit is contained in:
Henry Cook committed 2018-01-08 19:38:10 -08:00
1 parent 11e5b620f8
commit 15c54b1c5a
2 files changed
+1 -1

No files matched your search

-1
View File
@@ -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 =>
+1
View File
@@ -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 {