# ModelSim .do macro file for testing moore module. # Open the wave window. view wave # Add all the moore wires and regs to the wave window. # uut is the name of the instantiated moore module in the # testbench module tb_moore. # * signifies all the wires and regs in the module. add wave sim:/tb_moore/uut/* # Run the complete simulation; stops when the $stop system # task in the tb_moore module is executed. run -all