Preview

None

Powerful Essays
Open Document
Open Document
885 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
None
THE HONG KONG POLYTECHNIC UNIVERSITY
Department of Electronic and Information Engineering
EIE 414 Computer Architecture and Systems
Project 2
Due day: 18 December, 2012
Late penalty: 50 %
A. Goal
The objective of this laboratory session is to familiarize with the VSIM Superscalar Simulator. This simulator allows program simulation on several superscalar central processing units, such as,
Digital Alpha 21264, HP-PA8500, IBM Power3, Intel Pentium Pro/II/III and MIPS R10000. Basic usage such as execution and execution by steps and programming of these processors will be covered. B. Software
PC with Windows 95 or above (Windows 2000 recommended)
VSIM Superscalar Simulator (download from WebCT, vsim20.zip, open the software by unzip the zip file and run simulator.exe)
C. Simulation Guideline
Single Instruction Simulation
1. Select “Tools/Settings” from the menu tab and then select “Pentium Pro/II/III” from the
CPU selection in the popup dialog box.
2. Select the Programming Tab in the dialog box and then select “Run Single Instruction”, select OPCODE as “add”, DEST as “EAX”, SRC1 as “EAX” and SRC2 as “EAX”. Press
“OK” to close the dialog box.
3. Choose “Manual” to initiate the manual control execution process.
4. Beginning from “Decode”, record down all the changes, and continue the execution till
“Release”.
5. Continue step 2 to step 5 for the following instructions:
i. MUL ii. FADD iii. FMUL iv. LD
v. ST vi. FLD vii. FST viii. JMP ix. FSQRT
N.B.: You may deselect the “Show data transfers on buses” and “Show CPU simulation hints” within the “Simulation Options” tab in “Settings” if you have already familiarized with the execution stages.
Multiple Instructions Simulation
1. Select the “Run User Defined Assembly Program” under the “Settings” dialog box.
2. Choose OPCODE as “ADD”, DEST as “EAX”, SRC1 as “EAX” and SRC2 as “EBX”. Then press the “Append” button to append this operation into the program.
3. Continue to add two more

You May Also Find These Documents Helpful

  • Good Essays

    Read the background information found under the “Question” area first, and then read the procedure information posted there as well.…

    • 1295 Words
    • 6 Pages
    Good Essays
  • Powerful Essays

    Nt1330 Unit 5 Study Guide

    • 603 Words
    • 3 Pages

    Add the following attribute to Mikexxx & Suexxx (you need to find proper command parameters for the following attributes)…

    • 603 Words
    • 3 Pages
    Powerful Essays
  • Satisfactory Essays

    1. What UID and PID have the highest amount of physical memory that a process has used and is not swapped out? Show all processes and full output.…

    • 537 Words
    • 3 Pages
    Satisfactory Essays
  • Good Essays

    cis207 VisioSupplement 2

    • 831 Words
    • 4 Pages

    Build a Visio® diagram of the steps. Start and end your diagram with a terminal symbol. Lines with directional arrows should connect all symbols. Save your diagram and submit the VSD file to the Assignments tab.…

    • 831 Words
    • 4 Pages
    Good Essays
  • Good Essays

    basdasd

    • 683 Words
    • 3 Pages

    Read all background information and instructions in the “Question” column. It will also be helpful to read here…

    • 683 Words
    • 3 Pages
    Good Essays
  • Good Essays

    Nt1330 Unit 7 Lab 1

    • 566 Words
    • 3 Pages

    but has been optimised to save space and memory (hosts is loaded into memory on start-up), if…

    • 566 Words
    • 3 Pages
    Good Essays
  • Satisfactory Essays

    2. when the box is open Click "file" at the top and then Click "New Task (Run...)"…

    • 338 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    Net360 Instructions

    • 2615 Words
    • 11 Pages

    1. We now are ready to configure the simulation. Select the Configuration/Run [pic] tab from the tool bar.…

    • 2615 Words
    • 11 Pages
    Good Essays
  • Good Essays

    5. Click the “Information” bar at the bottom of the lab simulation and read all the background information.…

    • 954 Words
    • 5 Pages
    Good Essays
  • Satisfactory Essays

    Week 4

    • 2217 Words
    • 9 Pages

    In the space provided below, copy and paste your VBScript Program Code. If it doesn’t fit, use the next page for the continuation of your sourcecode program…

    • 2217 Words
    • 9 Pages
    Satisfactory Essays
  • Good Essays

    None

    • 544 Words
    • 3 Pages

    The African empires, kingdoms, and cities had many great achievements before the arrival of the Europeans. African empires, kingdoms, and cities were very successful with trading and social structure. The kingdom of Ghana gained control over the trans-Saharan gold and slat trade (doc. #2).Ancient Ghana was a very complex empire it had many characteristics of a powerful nation needed as if of today’s nation.…

    • 544 Words
    • 3 Pages
    Good Essays
  • Satisfactory Essays

    None

    • 450 Words
    • 3 Pages

    1. Explain how the ecosystem was affected by the missing species for each round of the demonstration.…

    • 450 Words
    • 3 Pages
    Satisfactory Essays
  • Good Essays

    Apa Paper

    • 1231 Words
    • 5 Pages

    5. Create your Running Head A. Click on the Insert tab B. Click the Header options arrow…

    • 1231 Words
    • 5 Pages
    Good Essays
  • Good Essays

    None

    • 1213 Words
    • 5 Pages

    It all started in World War II when the Japanese signed the Tripartite Pact with Germany and Italy. They then became known as the military alliance called “Axis”. (“World War II” 2012) During WWII the Japanese had suffered a shortage of oils and natural resources which lead them to have the ambition to displace the United States. In their effort they attacked American and British forces in Asia in order to seize the resources they needed in Southeast Asia. On December 7, 1941 Japan launched an attack on the United States Pacific fleet at Pearl Harbor in Hawaii. (“World War II” 2012)…

    • 1213 Words
    • 5 Pages
    Good Essays
  • Good Essays

    simulation

    • 541 Words
    • 7 Pages

    SIMULATION • WHAT is Simulation ? • WHY is Simulation required ? • HOW is Simulation applied ? • WHERE is Simulation used ? DEFINITION • Simulation is a representation of reality through the use of model or other device, which will react in the same manner as reality under a given set of conditions.…

    • 541 Words
    • 7 Pages
    Good Essays

Related Topics