From 02abd728a4950624a839fe28a2528a845f55f487 Mon Sep 17 00:00:00 2001 From: Sebastian Holzapfel Date: Wed, 20 Mar 2024 16:26:01 +0100 Subject: [PATCH] gatemate: re-add PLL lock check --- gateware/boards/gatematea1_evb/sysmgr.v | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gateware/boards/gatematea1_evb/sysmgr.v b/gateware/boards/gatematea1_evb/sysmgr.v index d30736a..1117e04 100644 --- a/gateware/boards/gatematea1_evb/sysmgr.v +++ b/gateware/boards/gatematea1_evb/sysmgr.v @@ -41,7 +41,7 @@ CC_PLL #( `endif always @(posedge clk_in) - if (rst_in) + if (rst_in || ~usr_pll_lock_stdy) rst_cnt <= 8'h0; else if (~rst_cnt[7]) rst_cnt <= rst_cnt + 1;