PC Software Program and Common FPGA Code Scenarios









- Slides: 9

PC Software Program and Common FPGA Code • Scenarios – Setup of new DUT test – Running test (Users/PC perspective) – Running test on FPGA • Environment (PC, database, etc) • Features (high level requirements)

Scenario: setup a new DUT test • Define personality module – DB entries for commands – DB entries for telemetry • Define telemetry displays • Write scripts

Scenario: Running Test • Load design bits via JTAG into the FPGA • Start windows application • Load personality module to FPGA – Personality module defines commands, telemetry, etc. • Load/Run 1 st Script file containing setup commands and start command • View and record results from first test on PC • Rerun or run additional tests

Scenario: Running test on FPGA • FPGA design is two parts – Common tester interface – High Speed DUT specific HW • HS DUT specific section runs at full speed • Common PC interface capturing data (slow) – Last 10 errors – Total error cnt

HS Tester PC Application Serial/USB/Ethernet/Other HW common tester interface Test Interface (registers) HS DUT specific HW

PC Application Environment • Win 2 K / Win XP Operating system • Communication (Serial, USB, Ethernet) • Database containing personality module definitions (commands, telemetry) (Simple DB`, i. e. Paradox, MS Access, text file) – Allows one application to be used for multiple tests • Script processor allows tests to be defined and repeated (Java. Script)

FPGA Common Interface Environment • Common Code – Embedded Xilinx processor (Micro. Blaze) – VHDL IP model • Communication (Serial, Ethernet, USB) – Use of hardware IPs • Personality defines commands, telemetry • Events (ASCII strings) can be forwarded to application log from HS DUT specific HW • Interface using memory mapped registers/memory

HS Tester Features • Features – Single Windows PC application that support multiple tests – Personality module defines all commands and telemetry • Command are sent to HS DUT specific HW • Telemetry received at definable rate from HS DUT specific HW – Support for repeatable test operation (scripts) – Store and time-tag received telemetry and commands

Personality Module Features • Setup application and DUT interface hardware • Create personality – Commands (5 commands with 32 bytes parameters) – Telemetry (rate, locations, words) – Add commands, telemetry to application database for display – *** Simple commands and telemetry/// This is not a full ground system