This is a function, implemented in C, which emulates the random number sequence produced by the SLIDAS card in modes 5, 6 and 7.
If you are testing a ROMB, you may want to verify the random number sequence coming out of the SLIDAS after you have received it in the ROMB. The random number sequence is not really random, it is determined in hardware and so can be emulated.
To use slidas_random(), do the following;
$ cc -o link_test link_test.c slidas_random.c
Note that the first time the function is called, it returns the first random number in the sequence (which is 0x95c5011c). Thereafter, it returns the next number automatically. There is no need to reset the function unless you reset the SLIDAS!
One point to bear in mind is that the random number cycle repeats after 4,294,967,295 iterations. Since this is also 2^32-1, it means that the SLIDAS produces every possible 32-bit word during a cycle of the pattern (except for 0x00000000 which would jam it!). This might seem a lot, but at the top speed of the SLIDAS (40 MHz) this takes only 107 seconds.
To get the code, simply download the C source code as an ascii file (click on the link, then do File, then Save As...).
There is also a skeleton program (called link_test.c) which calls slidas_random(). This program takes as an argument the number of random words required (e.g. $ link_test 100 will print out the first 100 numbers.)
Finally, here is a file which contains the first 1000 numbers.