Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
1. allow to trigger debug interrupt from dmi register 2. pass trace info to top to enable ILA based tracing
- Loading branch information
Showing
13 changed files
with
305 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
|
||
package freechips.rocketchip.debug | ||
|
||
import chisel3._ | ||
import chisel3.util._ | ||
import freechips.rocketchip.config.Parameters | ||
import freechips.rocketchip.tile.{CoreBundle, HasCoreParameters} | ||
|
||
|
||
class DebugCSRIntIO extends Bundle() { | ||
// from CSR/core's perspective | ||
val dmiInterrupt = Input(Bool()) | ||
val ndmiInterrupts = Output(UInt(16.W)) | ||
val eipOutstanding = Output(Bool()) | ||
val csrOutInt = Output(Bool()) | ||
val reg_mip = Output(UInt(64.W)) | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.