Browse Prior Art Database

Random Instruction Sequence Test Program

IP.com Disclosure Number: IPCOM000099809D
Original Publication Date: 1990-Feb-01
Included in the Prior Art Database: 2005-Mar-15
Document File: 3 page(s) / 99K

Publishing Venue

IBM

Related People

Satz, PJ: AUTHOR

Abstract

A program that generates processor instructions in pseudo-random sequences and invokes their execution is described herein.

This text was extracted from an ASCII text file.
This is the abbreviated version, containing approximately 52% of the total text.

Random Instruction Sequence Test Program

       A program that generates processor instructions in
pseudo-random sequences and invokes their execution is described
herein.

      A useful method of testing processor-based computer systems can
be to exercise system components with pseudo-random sequences of
processor instructions, causing software and hardware sequences to be
invoked which may not be covered by functional test cases.  A way to
generate these sequences and invoke their execution is implemented by
the Random Instruction Sequence Test Program.

      The program generates I random numbers, where I is the number
of instructions to be executed in the test program. Each random
number references one element in an array I elements, where each
element is a processor instruction. Each element referenced is
written to the test program space in sequential order until the test
program is created.  The test program is then invoked and executed N
times, where N is the test program loop count.  After N loops, a new
set of random numbers is created, thereby creating a new test program
sequence.  This process (Fig. 1) is repeated a number of times, M,
equal to the repetition frequency of the random number generator
divided by I.

      After the execution of M Test programs, the random number
generator is re-seeded with the result of an Exclusive-OR of the
time-of-day clock value with the last random number generated.  New
test programs are generated and executed, re-seeding the random
number generator after each series of M test programs until the total
loop count initialized by the user is exhausted.  At this point the
user is prompted for a new initi...