aboutsummaryrefslogtreecommitdiff
path: root/src/rtl
diff options
context:
space:
mode:
Diffstat (limited to 'src/rtl')
-rw-r--r--src/rtl/fmc_indicator.v4
-rw-r--r--src/rtl/fmc_regs.v2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/rtl/fmc_indicator.v b/src/rtl/fmc_indicator.v
index a802a59..b687cac 100644
--- a/src/rtl/fmc_indicator.v
+++ b/src/rtl/fmc_indicator.v
@@ -39,7 +39,7 @@
module fmc_indicator
(
input wire sys_clk,
- input wire sys_rst,
+ input wire sys_rst_n,
input wire fmc_active,
output wire led_out
);
@@ -56,7 +56,7 @@ module fmc_indicator
always @(posedge sys_clk)
//
- if (sys_rst) cnt <= {CNT_BITS{1'b0}};
+ if (!sys_rst_n) cnt <= {CNT_BITS{1'b0}};
else if (cnt > {CNT_BITS{1'b0}}) cnt <= cnt - 1'b1;
else if (fmc_active) cnt <= {CNT_BITS{1'b1}};
diff --git a/src/rtl/fmc_regs.v b/src/rtl/fmc_regs.v
index 8f740e3..0e50f2c 100644
--- a/src/rtl/fmc_regs.v
+++ b/src/rtl/fmc_regs.v
@@ -40,7 +40,7 @@ module comm_regs
(
// Clock and reset.
input wire clk,
- input wire rst,
+ input wire reset_n,
// Control.
input wire cs,