Hi Folks- Meenakshi and I discussed the file format for running test vectors through the DFEA using the DSAT. Here is what we came up with. First, some definitions: "Event" = one 132ns period (seven 53MHz RF clock cycles) during which data is sent to the DFEA or received from it. "Turn" = one test cycle for the DFEA, wherein a number of Events are sent to it and the received data captured. A "Turn" may contain up to 73 events (512 word Xilinx block RAM size, with 7 locations used per event). File format details: - Comments begin with #. Anything from the # to the end of the line is ignored. - Numbers may be decimal or hex. Decimal numbers must contain only digits 0-9. Hex numbers must either begin with "0x" or contain at least one character a-f. - whitespace (tabs, spaces, blank lines) permitted anywhere except inside words or numbers File structure:
... ... Where the elements are as follows
= an arbitrary string containing at least the name and version of the software creating the file = a group of events, with the start of the turn marked by a line beginning with "TURN". #------------------------------------------------------------ = a header line followed by 57 numbers (for data output to DFEA) EVENT # start of event marker, must start with "EVENT" # SCL bits for this event as follows: # bit 0 - FX (first crossing) # bit 1 - SG (sync gap) # bit 2 - L1A (level 1 accept) # bit 3 - SCL init # first link first word (28 bits) # first link second word # first link last word # second link first word .... # eighth link last word #------------------------------------------------------------ = a header line followed by 43 numbers (for data captured from DFEA) EVENT # start of event marker, must start with "EVENT" # arbitrary status word, details tbd # first link first word (28 bits) # first link second word # first link last word # second link first word .... # 4th LVDS link last word # first SLDB link first word ..... # second SLDB link last word Please feel free to comment. If we agree on this I'll post a slightly more formal description to the web. -Eric