                          Readme - Pupe Tests
                          ===================

pupeMemTest
===========
This program writes/reads from each of the PUPES SDRAM banks.
	
pupeCycleTest
=============
This program performs a simple PUPE processing cycle.
The program loads the test data from the file beam3-437000-8.psd and
sets up the PUPE's state/phase tables to process this data.
The program reads the diagnostics data from source 0 and dumps this
to the file diag0.txt. It also displays information and the data
from just after the INJECTION event.
The test data source consists of a BEAM with 4 particle bunches at
harmonic 8. Each of these bunches is smaller than the first to indicate
their position within the orbit.


Plotting Diagnostics
====================
The Python program "plotFile.py" can plot the diag0.txt file using the
gnuplot utility.

Typical Results
===============
CycleInfoTable:
01000000 10000069 02000136 00000000 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000

CycleTimingAddress: 105(69) CycleTime: 106 CycleDataAddress: 400(190)
CycleTimingTable:
00000000: 0000006a 00000190 0000006b 00000864 0000006c 00000f38 0000006d 0000160c
00000004: 0000006e 00001ce0 0000006f 000023b4 00000070 00002a88 00000071 0000315c
00000008:
CycleDataTable:
00000000: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000004: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000008:
Data: 0,0,0
Data: 0,0,0
Data: 0,0,0
Data: 0,0,0
Data: 0,0,0
Data: 0,0,0
Data: 0,0,0
Data: 0,0,0

Occasional Results
==================
CycleInfoTable:
01000000 10000067 02000132 00000000 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000

CycleTimingAddress: 103(67) CycleTime: 104 CycleDataAddress: 1464(5b8)
CycleTimingTable:
00000000: 00000068 000005b8 00000069 00000c8c 0000006a 00001360 0000006b 00001a34
00000004: 0000006c 00002108 0000006d 000027dc 0000006e 00002eb0 0000006f 00003584
00000008:
CycleDataTable:
00000000: dfedb7f4 00000000 dfedb7f4 00000000 0a1b146c 00000000 1131237a 00000000
00000004: 0f111e68 00000000 0ca6197a 00000000 0a1b146c 00000000 1131237a 00000000
00000008:
Data: -18444,-8211,0
Data: -18444,-8211,0
Data: 5228,2587,0
Data: 9082,4401,0
Data: 7784,3857,0
Data: 6522,3238,0
Data: 5228,2587,0
Data: 9082,4401,0
