diff options
Diffstat (limited to 'sbe/test/testUtil.py')
-rw-r--r-- | sbe/test/testUtil.py | 29 |
1 files changed, 28 insertions, 1 deletions
diff --git a/sbe/test/testUtil.py b/sbe/test/testUtil.py index 55802c0c..b3575625 100644 --- a/sbe/test/testUtil.py +++ b/sbe/test/testUtil.py @@ -1,3 +1,27 @@ +# IBM_PROLOG_BEGIN_TAG +# This is an automatically generated prolog. +# +# $Source: sbe/test/testUtil.py $ +# +# OpenPOWER sbe Project +# +# Contributors Listed Below - COPYRIGHT 2015,2016 +# [+] International Business Machines Corp. +# +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or +# implied. See the License for the specific language governing +# permissions and limitations under the License. +# +# IBM_PROLOG_END_TAG import time import conf from sim_commands import * @@ -98,7 +122,10 @@ def writeEntry(obj, address, value ): loop = 0 return value - +def readDsEntryReturnVal(): + data = readEntry(lbus, 0x2440, 4) + runCycles(200000) + return data def readEntry(obj, address, size): """ Read from memory space """ |