|A test program source file will be developed in this
section to illustrate the usage of JTAGer in relation to the small
application example shown in figure 1.
Fig. 1: A small application example.
The required test code segment should enable the following controllability / observability operations:
The corresponding sequence of test actions comprises the following steps:
The test code segment shown in figure 2 may be used to carry out this experiment, assuming that the circuit is connected to TAP0 (the arrow shown on the left indicates the last instruction executed). This test code segment may be downloaded as a JTAGer file (jtager1.bst), in case the reader wishes to carry out this experiment.
Fig. 2: Main JTAGer window and test program source for this example.
Following the execution of the test program sequence shown above, the array of leds should display an ON/OFF/ON/... pattern. The reader is invited to experiment with the various tools and utilities available (e.g. State Diagram, Waveforms, etc.), and in particular to use the Bitstream shifter utility to reach the same results, in order to enable a comparison of test program execution and interactive interface methods.