summaryrefslogtreecommitdiffstats
path: root/src/test/testcases/testMemUtil.py
diff options
context:
space:
mode:
authorspashabk-in <shakeebbk@in.ibm.com>2017-03-02 00:44:52 -0600
committerSachin Gupta <sgupta2m@in.ibm.com>2017-03-10 00:28:51 -0500
commit9b5d10bc9b96689b6d463f8c91000b3e44449611 (patch)
tree1fc8468c3ef2e91e0a8e95d6f7970b75755a50f9 /src/test/testcases/testMemUtil.py
parent2182092cda4f20aeae6829def08631b34f62d3b6 (diff)
downloadtalos-sbe-9b5d10bc9b96689b6d463f8c91000b3e44449611.tar.gz
talos-sbe-9b5d10bc9b96689b6d463f8c91000b3e44449611.zip
Correct PBA testcase
Change-Id: If2ecafad81462f6fb040ab0833a8b2142d0b2892 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/37327 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: RAJA DAS <rajadas2@in.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
Diffstat (limited to 'src/test/testcases/testMemUtil.py')
-rw-r--r--src/test/testcases/testMemUtil.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/test/testcases/testMemUtil.py b/src/test/testcases/testMemUtil.py
index 30bb94bd..48d1876a 100644
--- a/src/test/testcases/testMemUtil.py
+++ b/src/test/testcases/testMemUtil.py
@@ -61,9 +61,13 @@ def putmem(addr, data, flags, ecc=0):
if(len(data) < 8):
data = data+[0]*(4-len(data))
totalLen = 5 + len(data)/4
+ coreChipletId = 0x00
+ if (flags & 0x0040):
+ # LCO mode is set, so chiplet id - 0x20
+ coreChipletId = 0x20
req = (getsingleword(totalLen)
+[ 0,0,0xA4,0x02]
- +[0, ecc]
+ +[coreChipletId, ecc]
+gethalfword(flags)
#0,0,0x0,0xA5] #CoreChipletId/EccByte/Flags -> NoEccOverride/CacheInhibit/FastMode/NoTag/NoEcc/AutoIncr/Adu/Proc
+ getdoubleword(addr)
OpenPOWER on IntegriCloud