lab9_f10_gcpu_3701

lab9_f10_gcpu_3701 - University of Florida Department of...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
University of Florida EEL 3701 — Fall 2010 Dr. Eric M. Schwartz Department of Electrical & Computer Engineering 14-Jan-11 Page 1/3 Revision 0 LAB 9: G-CPU: Assembly Programming and Hand Assembly OBJECTIVE The objectives of this lab are to understand the structure of a functioning simple computer (the G-CPU), to learn how to write assembly code, and to understand the correspondence of the assembly language with the timing simulation. MATERIALS Quartus Software (on our web site) G-CPU documentation (on the web site) INTRODUCTION With the knowledge gained in earlier labs, you now have a detailed understanding of the internal structure of a simple Central Processing Unit (CPU). Instead of continuing with your previous existing hardware designs, you are now given a more complete CPU, which is denoted as the General CPU (or G-CPU). In Part A of this lab you will dissect and simulate the assembly code that is given with the G-CPU. In Part B, you will write a G-CPU assembly code program. You will then simulate this new code in Quartus in order to observe the G-CPU bus and register changes during program execution. MATERIALS The website has several files that describe the G-CPU. These files are available in both zipped and un-zipped formats. Print out each of the documents in the zip file found under the heading “Zipped G-CPU Documentation and Simulation files” or these same files in the folder called “Documentation and Simulation files”. Printable Quartus bdf and mif should be downloaded and printed from the website under the heading “Documentation and Simulation files.” SPECIFICATIONS 1. Download GCPU archive file: gcpu_f10.qar. 2. Double click on the file gcpu_f10.qar (or Open Quartus and select “Project | Restore Archiv ed Project…”). a. Specify a “Destination folder:”. I suggest c:/3701/labs/gcpu. b. Select “Yes” when the “Archive directory … create it? window pops up. c. Select “OK” when the “Project Restoration Complete” window pops up. d. Press “Yes”, if necessary, for any version- compatible database update. e. Close the “Compilation Report” window. 3. The project has many folders, all under the destination folder you selected above. The main (top level) file, computer.bdf, is in this folder. The mif files and the simulation (.vwf) files are also in this folder. 4.
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 3

lab9_f10_gcpu_3701 - University of Florida Department of...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online