blob: 2ada47a19e6c0cb5fe5e94961b4c9a8f77800a74 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
echo "Attempting to register SBE Tools"
# Load SBE debug tools.
try {
$sbe_startup_path = (lookup-file sbfw/simics-debug-framework.py);
$sbe_script_location = (python "''.join(map('/'.__add__,\""+$sbe_startup_path+"\"[1:].split('/')[0:-1]))")
python "os.environ['SBE_TOOLS_PATH'] = \""+$sbe_script_location+"\""
echo $sbe_script_location;
run-python-file (lookup-file sbfw/simics-debug-framework.py)
# Set mailbox scratch registers so that the SBE starts in istep mode
p9Proc0.proc_chip.invoke parallel_store SCOM 0x5003F "20000000_00000000" 64
p9Proc0.proc_chip.invoke parallel_store SCOM 0x5003A "90000000_00000000" 64
} except { echo "ERROR: Failed to load SBE debug tools." }
|