You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I noticed in UCB's very helpful Your First Accelerator: Matrix Sum that they mentioned an interrupt signal in RoCCCommand, which I see inside LazyRoCC.scala.
To help both myself and others, I'm thinking of adding short Javadoc comments explaining each signals and submitting a PR. I can infer info about most signals, but I don't quite understand the difference between interrupt and exception. What do they do & represent? And if you run an RoCC instruction (e.g. ROCC_INSTRUCTION_DS) what would one expect to happen when the interrupt signal goes high? Thanks!
classRoCCCoreIO(implicitp: Parameters) extendsCoreBundle()(p) {
/** Incoming command from the associated processing core. */valcmd=Flipped(Decoupled(newRoCCCommand))
/** Outgoing result to the associated processing core. */valresp=Decoupled(newRoCCResponse)
/** Memory interface to HellaCache, the L1 cache on a Rocket Chip. */valmem=newHellaCacheIO/** Indicate to the processor that the accelerator is currently doing work. */valbusy=Output(Bool())
/** ??? */valinterrupt=Output(Bool())
/** ??? */valexception=Input(Bool())
}
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi,
I noticed in UCB's very helpful Your First Accelerator: Matrix Sum that they mentioned an
interrupt
signal in RoCCCommand, which I see inside LazyRoCC.scala.To help both myself and others, I'm thinking of adding short Javadoc comments explaining each signals and submitting a PR. I can infer info about most signals, but I don't quite understand the difference between interrupt and exception. What do they do & represent? And if you run an RoCC instruction (e.g.
ROCC_INSTRUCTION_DS
) what would one expect to happen when the interrupt signal goes high? Thanks!Beta Was this translation helpful? Give feedback.
All reactions