1
0

tile: intSinkNode belongs in HasExternalInterrupts

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

View File

@ -135,7 +135,6 @@ abstract class BaseTile(tileParams: TileParams, val crossing: CoreplexClockCross
protected val tlMasterXbar = LazyModule(new TLXbar)
protected val tlSlaveXbar = LazyModule(new TLXbar)
protected val intXbar = LazyModule(new IntXbar)
protected val intSinkNode = IntSinkNode(IntSinkPortSimple())
def connectTLSlave(node: TLNode, bytes: Int) {
DisableMonitors { implicit p =>

View File

@ -22,6 +22,7 @@ class TileInterrupts(implicit p: Parameters) extends CoreBundle()(p) {
trait HasExternalInterrupts { this: BaseTile =>
val intInwardNode = intXbar.intnode
protected val intSinkNode = IntSinkNode(IntSinkPortSimple())
intSinkNode := intXbar.intnode
val intcDevice = new Device {