Claims
- 1. A method for testing a circuit implemented on a programmable logic device using a host processor coupled to the programmable logic device via an interface device, the interface device having a plurality of signal pins for configuring the programmable logic device, comprising:
connecting selected pins of the interface device to selected input pins of the programmable logic device; applying test vectors from the host processor to the selected input pins of the programmable logic device via the interface device, each test vector including one or more signal states to be applied to the programmable logic device; and analyzing states of signals appearing on output pins of the programmable logic device.
- 2. The method of claim 1 wherein the step of analyzing states of signals appearing on output pins of the programmable logic device comprises comparing signals on the output pins to expected output signals.
- 3. The method of claim 1, further comprising:
connecting selected pins of the interface device to associated configuration pins of the programmable logic device; and configuring the programmable logic device with a circuit design downloaded from the host processor to the programmable logic device via the interface device.
- 4. The method of claim 1, further comprising reading signal states from selected output pins of the programmable logic device to the host processor via the interface device.
- 5. The method of claim 1, wherein a logic analyzer is connected to one or more output pins of the programmable logic device, and further comprising viewing the signal states on the one or more output pins of the programmable logic device.
- 6. The method of claim 1, further comprising issuing from a test program executing on the host processor a programming interface write command having the test vector and a specification of the pins on which to apply the test vector.
- 7. The method of claim 6, wherein the interface device includes a plurality of ports, each port including a plurality of pins, and further comprising specifying in the write command the port having the pins on which the test vector is to be applied.
- 8. The method of claim 7, further comprising issuing from the test program a programming interface select-port-pins command having a port identifier and a bit-mask for enabling writing of data to specified pins of a specified port.
- 9. The method of claim 1, further comprising issuing from a test program executing on the host processor a programming interface read command having a specification of pins from which to read output signals.
- 10. The method of claim 6, wherein the interface device includes a plurality of ports, each port including a plurality of pins, and further comprising specifying in the read command the port having the pins on which the signals are to be read.
- 11. The method of claim 1, further comprising issuing from a test program executing on the host processor a programming interface tristate-pins command having a specification of pins the interface device is to tri-state.
- 12. The method of claim 11, wherein the interface device includes a plurality of ports, each port including a plurality of pins, and further comprising specifying in the tristate-pins command the port having the pins to be tri-stated.
- 13. The method of claim 12, further comprising specifying in the tristate-pins command a bit-mask indicating pins of the specified port to be tri-stated.
- 14. A system for testing a circuit implemented on a programmable logic device having input and output pins, comprising:
a host data processing system configured and arranged to configure the programmable logic device during a configuration process, and to apply input test signals to selected pins of the programmable logic device during a test process; an interface device having pins arranged to be connected to the programmable logic device, wherein selected pins of the interface device are used by the host for predetermined functions during configuration and for test signals during the test process.
- 15. The system of claim 14, wherein the host is further configured and arranged to read signals output from the programmable logic device via selected pins of the interface device.
- 16. The system of claim 15, wherein the interface device includes a plurality of ports, each having a respective plurality of pins.
- 17. The system of claim 16, wherein the host is further configured and arranged to issue a write command to the interface device which specifies the port and states of signals to apply to pins of the port.
- 18. The system of claim 17, wherein the host is further configured and arranged to issue a read command to the interface device which specifies the port and pins of the port from which states of signals are obtained.
CROSS-REFERENCES TO RELATED APPLICATIONS
[0001] This application relates to the following commonly owned U.S. Patent Applications, all filed on the same day as this application, and all incorporated herein by reference:
[0002] Serial No. ______, entitled “METHOD FOR RESETTING AN FPGA INTERFACE DEVICE” invented by Conrad A. Theron and Donald H. St. Pierre, Jr. [Docket No. X-533-1],
[0003] Serial No. ______, entitled “EMBEDDING FIRMWARE FOR A MICROPROCESSOR WITH CONFIGURATION DATA FOR A FIELD PROGRAMMABLE GATE ARRAY” invented by Edwin W. Resler, Conrad A. Theron, Donald H. St. Pierre, Jr., and Carl H. Carmichael [Docket No. X-533-2],
[0004] Serial No. ______, entitled “METHOD FOR RECONFIGURING A FIELD PROGRAMMABLE GATE ARRAY FROM A HOST” invented by Carl H. Carmichael, Conrad A. Theron, and Donald H. St. Pierre, Jr. [docket X-533-3],
[0005] Serial No. ______, entitled “METHOD FOR CHANGING EXECUTION CODE FOR A MICROCONTROLLER ON AN FPGA INTERFACE DEVICE” invented by Conrad A. Theron, and Donald H. St. Pierre, Jr. [docket X-533-4],
[0006] Serial No. ______, entitled “METHOD FOR DETECTING LOW POWER ON AN FPGA INTERFACE DEVICE” invented by Conrad A. Theron, Edwin W. Resler, and Donald H. St. Pierre, Jr. [docket X-533-5],
[0007] Serial No. ______, entitled “METHOD FOR LEVEL SHIFTING LOGIC SIGNAL VOLTAGE LEVELS” invented by Donald H. St. Pierre, Jr., and Conrad A. Theron [docket X-533-6], and
[0008] Serial No. ______, entitled “METHOD OF DISGUISING A USB PORT CONNECTION” invented by Donald H. St. Pierre, Jr. and Conrad A. Theron [docket X-533-7], and
[0009] Serial No. ______, entitled “SYSTEM AND METHOD FOR READING DATA FROM A PROGRAMMABLE LOGIC DEVICE” invented by Thach-Kinh Le, Chakravarthy K. Allamsetty, Carl H. Carmichael, Arun K. Mandhania, Donald H. St. Pierre, Jr. and Conrad A. Theron [docket X-524].