This documents our humble attempt at automating the testing of a MIPS project in Verilog using Perl.
We had two test scripts, general_test.pl
and predefined_test.pl
.
general_test.pl
is made so that you can easily initialize some registers
and pass a set of instructions and check the values of any number of registers
after the execution; it was used for evaluating and grading the project.