summaryrefslogtreecommitdiffstats
path: root/main.v
diff options
context:
space:
mode:
authorRaptor Engineering Development Team <support@raptorengineering.com>2018-04-26 03:12:34 -0500
committerRaptor Engineering Development Team <support@raptorengineering.com>2018-04-26 03:12:34 -0500
commitb21d62815f806da7619273bbe50212bbc0187f2d (patch)
treed425eb895c0a7d54a5185f098f2968209e751422 /main.v
parent3b3a0d00f03225216faa8dbbaabd00efa5e92eb4 (diff)
downloadtalos-system-fpga-b21d62815f806da7619273bbe50212bbc0187f2d.tar.gz
talos-system-fpga-b21d62815f806da7619273bbe50212bbc0187f2d.zip
Update BMC reset logicv1.05
Reset now attempted after 30 seconds of failure to exit U-boot
Diffstat (limited to 'main.v')
-rw-r--r--main.v6
1 files changed, 3 insertions, 3 deletions
diff --git a/main.v b/main.v
index 7b521c7..702245b 100644
--- a/main.v
+++ b/main.v
@@ -475,7 +475,7 @@ module system_fpga_top
end
// BMC initial startup watchdog
- reg [9:0] bmc_watchdog_counter = 0;
+ reg [8:0] bmc_watchdog_counter = 0;
reg bmc_watchdog_reset = 1'b0;
always @(posedge timer_clk_4) begin
if (bmc_rst && (bmc_boot_phase == 0)) begin
@@ -484,7 +484,7 @@ module system_fpga_top
bmc_watchdog_counter <= 0;
end
- if (bmc_watchdog_counter[9]) begin
+ if (bmc_watchdog_counter[8]) begin
bmc_watchdog_reset = 1'b1;
end else begin
bmc_watchdog_reset = 1'b0;
@@ -947,7 +947,7 @@ module system_fpga_top
// BMC RESETs
always @(posedge clk_in) begin
- bmc_rst = bmc_vr_pg & (!bmc_watchdog_reset);
+ bmc_rst = bmc_vr_pg & ~bmc_watchdog_reset;
usbhub_rst = sysgood_buf & ~bmc_boot_complete_n;
fan_rst = bmc_vr_pg;
end
OpenPOWER on IntegriCloud