HP 64700 User Manual page 54

Emulators terminal interface
Hide thumbs Also See for 64700:
Table of Contents

Advertisement

U>tsto p1 & p2 or p5 & p6
!ERROR 1241! Invalid qualifier resource or operator: &
U>tpat p1 addr!=5ff
U>tpat p2 data!=39xx or stat!=mw
U>tpat p5 addr!=500
U>tpat p6 data!=0xx39 or stat!=mw
U>tsto p1 ~ p2 or p5 ~ p6
Accessing Full Analyzer Capability 3-6
This set combination is invalid because p1 and p2 are in the same set.
Note that "p1 ~ p1" is allowed; this type of expression may occasionally
be useful if you are running out of pattern resources and wish to specify
a logical NOT of some existing pattern. For example, consider the fol-
lowing commands:
tpat p1 addr=0
tif 1 p1
tif 2 p1 ~ p1
The primary branch of term 2 will be taken when "addr!= 0".
Limitations of Combining Patterns
Only the OR (| ) and NOR (~ ) logical operators are available as in-
traset operators. However, you can create the AND and NAND opera-
tors by applying DeMorgan's law (the "/" character is used to represent
a logical NOT):
AND
A and B = /(/A and /B)
NAND
/(A and B) = /A or /B
For example, suppose you want to specify the following storage quali-
fier:
The error occurs because the & operator is not a valid intraset opera-
tor. If the specifications for the trace patterns are:
tpat p1 addr=5ff
tpat p2 data=39xx and stat=mw
tpat p5 addr=500
tpat p6 data=0xx39 and stat=mw
You can enter an equivalent expression to the one which caused the er-
ror by making the following changes to the trace patterns and using the
NOR (~ ) operator in the tsto command.
NOR
OR

Advertisement

Table of Contents
loading

Table of Contents