binary scan $data i end_type
# end_type is one greater than the last type in the stream
- if { $end_type != 0x1023 } {
+ if { $end_type != 0x102a } {
fail "Incorrect end type value in TPI stream."
} else {
pass "Correct end type value in TPI stream."