Concepts
Segment Import and Export Language
Agilent 81250 Parallel Bit Error Ratio Tester, Programming Reference, March 2006
327
Using Base w
Consider the following portion of import language code:
:statePar: { {B "0 x1")
#define state set B to have coding "0 x1"
:stateSet: B
#select State set B
:base: w
#use waveform characters
:vectorWidth: 5
#vector is 5 states wide
:vectors:
{
001xx
#this is the vector
}
Let us examine the
:statePar:
statement. A state set name B is
associated with the coding “0 x1”. The order of the characters “0 x1” is
particularly important as it implies the underlying binary values.
Starting with 0, the coding assumes increasing order from left to right.
Each of the waveform characters represents a state. To represent
three waveform characters, two bits are required. With two bits there
are 4 binary values available. The value 01 must be represented by
‘blank’ because this is not a valid waveform character. Therefore, the
binary values of the states are: 0 = 00, ‘blank’= 01, x = 10 and 1 = 11.
Enough information is now available to decode the vector: 001xx = 00
00 11 10 10
Here is the same example using a hexadecimal base and the coding
“0 x1”:
Coding
Memory Representation
Hardware Representation
0
00
0
‘blank’
n/a
n/a
x
10
Don’t care
1
11
1
Coding
Memory Representation
Hardware Representation
0
0
0
1
1
1
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com