EE 3755 spring 2010 Q.1) What kind of program do I need to use for Hw3? for MIPS, Hw3, you need to use "xspim". Q.2) Where can I use this program? A) at ECE Room 126: You need to use Linux Machine(Black). (I check the program is working at Linux Machine but it is not working on Unix.) B) at Home: I recommend you do your homework at ECE 126. If you are doing your Hw at ECE 126, For Hw3, It will take about 8-10 hours to finish. If you are insisting to do homework at home, you must have a x-term program(terminal emulator; Class_room has x-win32 , so I can show you the graphic-unix program(xspim, which is running at ECE building). X-win32 is one of the x-term programs. you can download 30 day-trial version at www.starnet.com. you have to install it and figure out how to use it. and if you are using a router at home, you may have to set "port-forwarding". If you are doing above things(download and set a router), you can use "xspim" at home. Although it depends on you, doing above things will take 1-3 hours. I will not give you more technical support for this. Q.3) How to use the program? For xspim login /home/classes/ee3755/com/linux/xspim (type full PATH) (on upper right) clearall load...(Type file name) run (run whole program) step(run line by line) reload( loading your program again. use this when you modified you program) clear(clear registers) For more information, visit this website. http://www.cs.wisc.edu/~larus/spim.html For complete documentation on xspim, visit this link. http://pages.cs.wisc.edu/~larus/xspim.pdf Q.4) Is there any program I can use at my PC? yes. go to the website http://www.cs.wisc.edu/~larus/spim.html Download http://www.cs.wisc.edu/~larus/SPIM/pcspim.zip Unzip it by using winzip. 2)Install pcspim on your window computer.(Click on Setup.msi in Winzip) ##After Installation, You will see PCSpim-Icon 3)Do your work for the problem. 4)Run pcspim by clicking PCSpim-Icon. After you see the Pcspim Box, Click on File->Click on Open("your file name").##It will load the code. ## Pay attention to the location you save your file## Click on Simulator->Click on Go ##Then a new window will pop up. ##It says Starting Address 0x00400000 Click OK 5)The Simulator will display the output on the Console(new window) 6)Copy the output and save it on a file. ## If you can not copy from the Console, ## Click on File ->Click on Save Log File ## You copy only part of the log file which mean output of the program and save it as s10.txt 7)If you do have errors, correct your errors, reload the code and run. ############################################### When you finish step 7, you finish your homework at home. But your homework is still on your computer. You have to upload your homework to the department computer. You have to figure out how to upload your file to your class account. There are several ways to do this. a)You go to this web-site and download "FileZilla_3.3.2.1_win32-setup.exe" from http://filezilla-project.org/ ##download "FileZilla_3.3.2.1_win32-setup.exe" ##if you have any sftp(file transferring program), you may use it## Save FileZilla_3.3.2.1_win32-setup.exe on your computer b)Run it("FileZilla_3.3.2.1_win32-setup.exe") >> For installation and upload information, visit ##http://wiki.filezilla-project.org/Documentation c)Upload your files to your account. d)You have to log on your account and check the file is on your account. //this is your responsibility Again I am not recommending this and I am suggesting do your homework at the department lab.