summaryrefslogtreecommitdiffstats
path: root/main.v
diff options
context:
space:
mode:
authorXing Zhao <zxingsh@cn.ibm.com>2019-07-24 15:57:26 +0800
committerRaptor Engineering Development Team <support@raptorengineering.com>2019-07-24 14:54:27 -0500
commit50c947d333476ac8341dd0985d02a77c416c0326 (patch)
tree171e8a13f4ca5cfc77c18095ab8dd64005df1bab /main.v
parent3c62be2df8f4694dce5c39c5e94b78b148e29080 (diff)
downloadtalos-system-fpga-50c947d333476ac8341dd0985d02a77c416c0326.zip
talos-system-fpga-50c947d333476ac8341dd0985d02a77c416c0326.tar.gz
Fix poweroff fail for Talos lite
Talos lite has only one socket and unmounted all the components related to the second CPU. False power good of the second CPU's power may casue the system poweroff fail. So gate the power good of the second CPU's power by the present signal of the second CPU. Signed-off-by: Xing Zhao <zxingsh@cn.ibm.com>
Diffstat (limited to 'main.v')
-rw-r--r--main.v12
1 files changed, 6 insertions, 6 deletions
diff --git a/main.v b/main.v
index 83e5d38..1d6bb49 100644
--- a/main.v
+++ b/main.v
@@ -866,18 +866,18 @@ module system_fpga_top
pg_buf[0] = atx_pg;
pg_buf[1] = miscio_pg;
pg_buf[2] = vdna_pg;
- pg_buf[3] = vdnb_pg | (~mfr_force_cpub_present & cpub_present_n & en_buf[3]);
+ pg_buf[3] = (~cpub_present_n & vdnb_pg) | (~mfr_force_cpub_present & cpub_present_n & en_buf[3]);
pg_buf[4] = avdd_pg;
pg_buf[5] = vioa_pg;
- pg_buf[6] = viob_pg | (~mfr_force_cpub_present & cpub_present_n & en_buf[6]);
+ pg_buf[6] = (~cpub_present_n & viob_pg) | (~mfr_force_cpub_present & cpub_present_n & en_buf[6]);
pg_buf[7] = vdda_pg;
- pg_buf[8] = vddb_pg | (~mfr_force_cpub_present & cpub_present_n & en_buf[8]);
+ pg_buf[8] = (~cpub_present_n & vddb_pg) | (~mfr_force_cpub_present & cpub_present_n & en_buf[8]);
pg_buf[9] = vcsa_pg;
- pg_buf[10] = vcsb_pg | (~mfr_force_cpub_present & cpub_present_n & en_buf[10]);
+ pg_buf[10] = (~cpub_present_n & vcsb_pg) | (~mfr_force_cpub_present & cpub_present_n & en_buf[10]);
pg_buf[11] = vppab_pg;
- pg_buf[12] = vppcd_pg | (~mfr_force_cpub_present & cpub_present_n & en_buf[12]);
+ pg_buf[12] = (~cpub_present_n & vppcd_pg) | (~mfr_force_cpub_present & cpub_present_n & en_buf[12]);
pg_buf[13] = vddrab_pg;
- pg_buf[14] = vddrcd_pg | (~mfr_force_cpub_present & cpub_present_n & en_buf[14]);
+ pg_buf[14] = (~cpub_present_n & vddrcd_pg) | (~mfr_force_cpub_present & cpub_present_n & en_buf[14]);
end
// Enable outputs
OpenPOWER on IntegriCloud