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