A full range of XJEase device files which match thousands of part numbers is available in the XJEase library that is installed as part of XJTAG.
XJEase is an easy-to-learn programming language and from XJDeveloper you can view or even edit the device models in your project, to customise them or to create files for new devices.
Below is an example of some simple XJEase.
In XJDeveloper the Test Device Files screen is used to view or edit the XJEase code for devices.
A memory device might be defined as in the screenshot below to have several busses.
Some busses (like nWE) are a single pin, whereas the address and data busses contain many pins. The pins are simply the pin numbers on the device type that is being tested, obtained from the datasheet. The file is therefore “device-centric” – it refers to a specific type of device, but not to the circuit that the device is placed in, which means the file can be re-used whenever the device is used in another project.
Using these busses, a memory device will then typically have short functions which can write or read a word to/from the memory.
It may then have other functions – for example one to test the data bus.
This example does not reflect how XJTAG library tests work but this sets a simple walking 1s pattern to the device. If all goes as expected the function returns 0 in the “result” parameter, but if something goes wrong it returns 1 to indicate an error, and prints a message.