summaryrefslogtreecommitdiffstats
path: root/src/build/citest/etc/patches/centaur.act.slew.patch
blob: 089c52ecde082379f03d092b5ae02d5ebe85d81b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
--- /esw/fips810/Builds/b1207x_1251.810/src/simu/data/cec-chip/centaur.act      2012-09-18 09:23:16.000000000 -0500
+++ ./centaur.act       2012-12-13 20:00:14.319266193 -0600
@@ -29,6 +29,7 @@
 #  ch139 F849719   ched      08/28/12  Apply Dean Sanner's fix for "OPCG SCAN0"
 #                                      action
 #        SW164340  bradleyb  09/18/12  temp back out mdia actions
+#        SW178996  mjjones   12/13/12  Slew calibration actions
 #********************************************************************
 #  
 
@@ -89,6 +90,42 @@
 }
 
 CAUSE_EFFECT {
+  LABEL=[Slew calibration for MBA0 Port0]
+  WATCH=[INDSCOM_0x0301143F(0x00008039)]  # SLEW_CAL_CNTL_P0
+  CAUSE: TARGET=[INDSCOM_0x0301143F(0x00008039)] OP=[BIT,ON] BIT=[48] # Set Start bit
+  EFFECT: TARGET=[INDSCOM_0x0301143F(0x00008034)] OP=[EQUALTO,BUF] DATA=[LITERAL(64,00000000 00000031)] # SLEW_DONE_STAT
+    # 0x30 = Status Mask. 0x30 = Done with no errors
+    # 0x0F = Calibrated Data Mask. Anything other than all 0s or all 1s is good
+}
+
+CAUSE_EFFECT {
+  LABEL=[Slew calibration for MBA0 Port1]
+  WATCH=[INDSCOM_0x0301143F(0x00018039)]  # SLEW_CAL_CNTL_P1
+  CAUSE: TARGET=[INDSCOM_0x0301143F(0x00018039)] OP=[BIT,ON] BIT=[48] # Set Start bit
+  EFFECT: TARGET=[INDSCOM_0x0301143F(0x00018034)] OP=[EQUALTO,BUF] DATA=[LITERAL(64,00000000 00000031)] # SLEW_DONE_STAT
+    # 0x30 = Status Mask. 0x30 = Done with no errors
+    # 0x0F = Calibrated Data Mask. Anything other than all 0s or all 1s is good
+}
+
+CAUSE_EFFECT {
+  LABEL=[Slew calibration for MBA1 Port0]
+  WATCH=[INDSCOM_0x0301183F(0x00008039)]  # SLEW_CAL_CNTL_P0
+  CAUSE: TARGET=[INDSCOM_0x0301183F(0x00008039)] OP=[BIT,ON] BIT=[48] # Set Start bit
+  EFFECT: TARGET=[INDSCOM_0x0301183F(0x00008034)] OP=[EQUALTO,BUF] DATA=[LITERAL(64,00000000 00000031)] # SLEW_DONE_STAT
+    # 0x30 = Status Mask. 0x30 = Done with no errors
+    # 0x0F = Calibrated Data Mask. Anything other than all 0s or all 1s is good
+}
+
+CAUSE_EFFECT {
+  LABEL=[Slew calibration for MBA0 Port1]
+  WATCH=[INDSCOM_0x0301183F(0x00018039)]  # SLEW_CAL_CNTL_P1
+  CAUSE: TARGET=[INDSCOM_0x0301183F(0x00018039)] OP=[BIT,ON] BIT=[48] # Set Start bit
+  EFFECT: TARGET=[INDSCOM_0x0301183F(0x00018034)] OP=[EQUALTO,BUF] DATA=[LITERAL(64,00000000 00000031)] # SLEW_DONE_STAT
+    # 0x30 = Status Mask. 0x30 = Done with no errors
+    # 0x0F = Calibrated Data Mask. Anything other than all 0s or all 1s is good
+}
+
+CAUSE_EFFECT {
   # copy chip ID
   LABEL=[DEVICE_ID_REG] # TPTOP.PIB.PCBMS.DEVICE_ID_REG
   WATCH_READ=[REG(0x000F000F)]  # if someone reads this
OpenPOWER on IntegriCloud