parent
13981379c4
commit
e12bdfdf9b
@ -81,5 +81,5 @@ trait HasExtInterruptsModuleImp extends LazyModuleImp with HasExtInterruptsBundl
|
|||||||
val outer: HasExtInterrupts
|
val outer: HasExtInterrupts
|
||||||
val interrupts = IO(UInt(INPUT, width = outer.nExtInterrupts))
|
val interrupts = IO(UInt(INPUT, width = outer.nExtInterrupts))
|
||||||
|
|
||||||
outer.extInterrupts.in.map(_._1).flatten.zipWithIndex.foreach { case(o, i) => o := interrupts(i) }
|
outer.extInterrupts.out.map(_._1).flatten.zipWithIndex.foreach { case(o, i) => o := interrupts(i) }
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user