1
0

Add status indication led for the reset button

This commit is contained in:
Klemens Schölhorn 2018-04-18 00:26:43 +02:00
parent 41362a1cb5
commit 2ff28e6af6

View File

@ -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
//-----------------------------------------------------------------------