For this assignment we have added several debugging utilities to the verilog model. These are commands that can be typed at the verilog prompt to enable features or print information to the screen. The following utilities are provided:
Name Description --------- ------------------------------------------------------- `help Help. Prints this list of utility descriptions `por Power-On Reset `ss Toggles single step `it Toggles instruction stream trace `waves Start the waves display `regs Start the register display `output Dumps memory to memory.core `rfd Dumps the register file `break = #; Sets a breakpoint in the code `start = #; Sets the start address for `dismem and `dumpmem `num = #; Sets the number of words to dump for `dismem and `dumpmem `dismem Disassembles `num' words starting at address `start' `dumpmem Dumps `num' words starting at address `start'Some of the more useful ways to use these commands:
`start = 'h50; `num = 6; `dumpmem;
This will dump six words starting at location 0x50. If you use the 'dismem routine, it will also disassemble memory.
If you ever forget one of the routines, simply type `help at the Verilog command line.