SPIN(1prom) UMIPS-V Reference Manual SPIN(1prom)
NAME
spin - diagnostic reference pattern generator
SYNOPSIS
spin [[ -c count ] [ -v value ] -(r|w)(b|h|w) address ]+ [
-c count ]
DESCRIPTION
spin generates reference patterns for diagnostic use. You
can specify a sequence of reads and/or writes of byte (b),
halfword (h), or word (w) width with combinations of -r and
-w options. The -c option specifies a repetition count and
a value for writes that apply to all succeeding writes. The
-v option specifies a count and a value for writes that
apply for all succeeding reads and writes. A final count
specification indicates the number of times the entire
preceding pattern should be repeated. Count defaults to 1
and value defaults to 0. A negative count is interpreted as
infinity.
EXAMPLE
>> spin -c 4 -rh 0x2 -c 2 -v 1 -wb 0x4 -c 10
The example shown above, repeats the two instructions
shown below, 10 times.
Read the halfword at address 0x2 four times
Write 1 to the byte at address 0x4 two times
Page 1 (printed 3/13/90)