You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
id match has two mandatory parameters and one optional:
repetition
How often the loop is executed when no match is found. If this is a number it specifies the number of repetitions. If it is a number with a time unit (such as ms), it specifies the maximum amount of time for which the loop executions run. This parameter corresponds to the repetition parameter of the pattern file.
Note that if a time is specified, the pattern file containing the match loop can only be called multiple times in the same operating sequence if the period is the same in all locations where it is called.
mode
Whether the pattern execution stops when the match loop fails (stopOnFail) or continues after the REPEATEND statement (continueOnFail). This parameter corresponds to the element of the pattern file.
If the execution of the pattern is stopped, its signals will no longer be used in the same operating sequence: All later elements that use at least one of these signals are skipped. Elements that do not use any of the pattern's signals are executed normally.
inverted
If the optional inverted keyword is added, the loop matches whenever a comparison fails. (See Match loop basics.) This parameter corresponds to the element of the pattern file.
Example 1
The DUT signals that the instruction will be applied on are specified in the id attribute of the element. In this example, a match instruction is used to start a match loop which is repeated 120 times. The continueOnFail assignment specifies to carry on with the test even if all repetitions of the match loop have failed. The compare vectors are generated using the genVec instruction. The matchRepeat instruction defines a wait loop with eight wait vectors. These vectors are repeated until SmarTest finishes evaluating the compare results:
The text was updated successfully, but these errors were encountered:
id match has two mandatory parameters and one optional:
repetition
How often the loop is executed when no match is found. If this is a number it specifies the number of repetitions. If it is a number with a time unit (such as ms), it specifies the maximum amount of time for which the loop executions run. This parameter corresponds to the repetition parameter of the pattern file.
Note that if a time is specified, the pattern file containing the match loop can only be called multiple times in the same operating sequence if the period is the same in all locations where it is called.
mode
Whether the pattern execution stops when the match loop fails (stopOnFail) or continues after the REPEATEND statement (continueOnFail). This parameter corresponds to the element of the pattern file.
If the execution of the pattern is stopped, its signals will no longer be used in the same operating sequence: All later elements that use at least one of these signals are skipped. Elements that do not use any of the pattern's signals are executed normally.
inverted
If the optional inverted keyword is added, the loop matches whenever a comparison fails. (See Match loop basics.) This parameter corresponds to the element of the pattern file.
Example 1
The DUT signals that the instruction will be applied on are specified in the id attribute of the element. In this example, a match instruction is used to start a match loop which is repeated 120 times. The continueOnFail assignment specifies to carry on with the test even if all repetitions of the match loop have failed. The compare vectors are generated using the genVec instruction. The matchRepeat instruction defines a wait loop with eight wait vectors. These vectors are repeated until SmarTest finishes evaluating the compare results:
The text was updated successfully, but these errors were encountered: