Add status indication led for the reset button
This commit is contained in:
parent
41362a1cb5
commit
2ff28e6af6
@ -98,6 +98,7 @@ abstract class ML507Shell(implicit val p: Parameters) extends RawModule {
|
||||
|
||||
// active high reset
|
||||
val reset = IO(Input(Bool()))
|
||||
val reset_led = IO(Output(Bool()))
|
||||
|
||||
// LED
|
||||
val led = IO(Vec(8, Output(Bool())))
|
||||
@ -174,6 +175,9 @@ abstract class ML507Shell(implicit val p: Parameters) extends RawModule {
|
||||
// Allow the debug module to reset everything. Resets the MIG
|
||||
sys_reset := reset | dut_ndreset
|
||||
|
||||
// Status LED for reset
|
||||
reset_led := reset
|
||||
|
||||
//-----------------------------------------------------------------------
|
||||
// Clock Generator
|
||||
//-----------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user