diff options
Diffstat (limited to 'src/rtl/fmc_indicator.v')
-rw-r--r-- | src/rtl/fmc_indicator.v | 4 |
1 files changed, 2 insertions, 2 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}}; |