#L8
Q: How can I loop until I get a "MATCH" on my vectors?
Pattern Matching with ETSNT
To begin, employ the program mode (invoked by Sequencing under RunSetup). The objective is to run the vectors in loops until the desired outputs are obtained by matching them to the expected response data by using the "fail" flag of the tester. Start by filling the entire program space with NOOP’s. This you do by pulling down the Vector Drawer and selecting Program Fill + NOOP + Fill It. Did you notice how quickly it filled? That's HILEVEL's HRISC processor at work! Consider the following vector segment: T
C Vector example for Pattern Matching |
The first 12 (HEX C) vectors are the "data match" vectors. We are waiting for the TST pin to change from a high to a low. Only at vectors five and six is the part clocked, and only there are we watching for the transition on TST. All other pins in the "vector 3 to vector 10" loop are masked so that no false errors will interfere with the match. The Programmable Pattern Generator will run to Vector 10 (HEX A) and test if there are any failures; if failures are present the program jumps to vector 3. It will stay in this loop until there are no failures. In other words, until there is a match. At Vector 12 (HEX C) a Clear Trigger instruction (CTRG) is executed; this will now allow the program to continue to look for failures, and it will prevent the ETSNT from reporting the "failures" seen during pattern matching as failures. With Version 4.50 (or later) of the ETSNT software the above Match Mode can be used with the SHMOO Plot. In the SHMOO Plot, the Fail flag is only interrogated at the end of the vectors, therefore, SHMOO may be applied to match mode testing. For complete information about the Program Mode, refer to the latest release of the ETSNT User Manual. Learn to make CALLs to subroutines, repeat a single vector and to use other vector addressing commands. Q’nApps are created when we add new features, so be sure to check our website often for updates. ________________________________ QL8.zip is a zipped Word file of this Q'nApp. Click your browser's Back button to return to the Q'nApps index. |