diff options
author | Raptor Engineering Development Team <support@raptorengineering.com> | 2019-05-03 10:14:08 +0000 |
---|---|---|
committer | Raptor Engineering Development Team <support@raptorengineering.com> | 2019-05-03 10:14:19 +0000 |
commit | 4ea8cfd68ed43f27b7a9a1a0bf439bce6b95eb82 (patch) | |
tree | 8897e4ca76b12fbdc8dff48c78e36e92a7c141ef | |
parent | f6b0cdb28f539dab56e63b8a00e65544e35b217d (diff) | |
download | blackbird-system-fpga-4ea8cfd68ed43f27b7a9a1a0bf439bce6b95eb82.tar.gz blackbird-system-fpga-4ea8cfd68ed43f27b7a9a1a0bf439bce6b95eb82.zip |
Disable HDD LED if chassis power is off
-rw-r--r-- | main.v | 11 |
1 files changed, 8 insertions, 3 deletions
@@ -847,10 +847,15 @@ module system_fpga_top always @(posedge clk_in) begin panel_power_led_std = bmc_power_led_req; panel_uid_led_std = bmc_uid_led_req; - if (invert_sata_hdd_act_req) begin - panel_hdd_led_std = sata_hdd_act_req; + if (atx_pg == 1'b1) begin + if (invert_sata_hdd_act_req) begin + panel_hdd_led_std = sata_hdd_act_req; + end else begin + panel_hdd_led_std = ~sata_hdd_act_req; + end end else begin - panel_hdd_led_std = ~sata_hdd_act_req; + // Disable HDD LED if chassis power is off + panel_hdd_led_std = 1'b1; end end |