From 2ff28e6af695cecfa089da1ee26288517656c81d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Klemens=20Sch=C3=B6lhorn?= Date: Wed, 18 Apr 2018 00:26:43 +0200 Subject: [PATCH] Add status indication led for the reset button --- src/main/scala/shell/xilinx/ML507Shell.scala | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main/scala/shell/xilinx/ML507Shell.scala b/src/main/scala/shell/xilinx/ML507Shell.scala index 27e0035..9c80301 100644 --- a/src/main/scala/shell/xilinx/ML507Shell.scala +++ b/src/main/scala/shell/xilinx/ML507Shell.scala @@ -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 //-----------------------------------------------------------------------