Is there some code available to generate input files?
There is a generator available: generate.pl. This is a perl program that generates input that can be used to test your simulator. The program includes many parameters (all variables set at the top of the program), so you can modify how it works. To run the program, save it as “generator.pl” and run “perl generator.pl” from the Unix command line. The generator uses random numbers based on gaussian probability distribution (a bell curve) so that it generates addresses that are near each other. The program allows you to set the maximum number of concurrent simulated processes, total number of memory accesses, the size of virtual memory, number of accesses per quantum (as an average and standard deviation), etc. This code is available for your use, but no claims are made about whether it is the best (or even a particularly good) representation of the memory access patterns of real processes. The generator is a minimal improvement over one based on generating addresses according to a unifor