Bit Level Find/Filter/Hide - Viavi Xgig User Manual

Table of Contents

Advertisement

Chapter 13, Configuring Xgig TraceView

Bit Level Find/Filter/Hide

With the hex option, it is also possible to Find/filter/hide based on bit strings as well as byte
strings. Bit level offsets are specified by a "dot" notation, where the first value expresses the bytes
and the second value expresses bits. For example, 4.3 means bit 3 within byte number 4. Bit-level
lengths are also specified in "dot" notation. For example, 2.1 equals a length of 17 bits (2*8 + 1 =
17). For bit-level matches, the string to match is expressed in hexadecimal.
For example, assume you want to match a string of three bits, the first bit set to "on" (value of 1)
and the last two bits set to "off" (value of 0). The bits you are matching are bits 5, 6, and 7 with the
byte at offset 21. Set up the conditions so you will match the bit string by making the following
entries in the
Figure 114: Quick Filter, Bit Level
The offset field value of 21.5 indicates start the bit string match at bit 5 of byte 22 (byte 22 is offset
by 21 bytes). The length field is set to 0.3 to indicate you are looking for a string that is three bits
long. The bits are compared with the bits indicated by the hexadecimal number specified as the
value (4H). The value 4H is interpreted as a bit string for the compare process, so 4H becomes
"0100" as a bit string.
The compare starts for the number of bits counting from the right of the bit string (the last three
bits are used for the compare). The compare starts bit by bit from the first bit on the left. In the
example, if bit 21.5 has a value of 1 it matches the compare bit (X1XX). If bit 21.6 has a value of
1 it would not match the compare bit (XX0X). See the picture below for a look at the compare
process for the example.
Figure 115: Bit Level Filter Example
You must specify the bit compare carefully to get the results you want. Note that any "extra" bits
in the compare value are not used. In the example, only the lowest three bits of the value 4H are
used for the compare; the other bits are ignored. In the example, the value CH (fourth bit set on)
would produce the same result as 4H (fourth bit set off). If you specify a hexadecimal value that
does not represent enough bits for the length of the bit compare, the hexadecimal value is
automatically filled with zeros so enough bits are represented for the compare.
258
Quick Find/Filter/Hide
dialog box.
Filter And Hide
Xgig Analyzer User's Guide

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents