https://github.com/machawk1/scoreboarding
Semester project for CS665 - Computer Architecture from Spring 2011 at Old Dominion University
https://github.com/machawk1/scoreboarding
Last synced: about 2 months ago
JSON representation
Semester project for CS665 - Computer Architecture from Spring 2011 at Old Dominion University
- Host: GitHub
- URL: https://github.com/machawk1/scoreboarding
- Owner: machawk1
- Created: 2016-05-18T15:46:28.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2016-05-18T15:48:56.000Z (about 9 years ago)
- Last Synced: 2025-03-24T09:45:20.275Z (about 2 months ago)
- Language: Java
- Size: 12.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme
Awesome Lists containing this project
README
Scoreboard Simulator Program
Authors: Tihomir Hristov and Matthew Kelly
Adapted to this semester's specifications with permission from Tihomir and Dr. Olariu
after completing the project last semester but dropping the class.1. Input
This program uses an input file called data.in that has a list of MIPS64 instructions.
Example of this is:L.D F2, 0(R1)
ADD.D F6, F2, F4
MULT.D F8, F6, F0
L.D F10, -8(R1)
ADD.D F12, F10, F4
MULT.D F14, F12, F10
DADDUI R1, R1, #-162. Logic and Implementation
The program then utilizes a Scoreboard logic and schedules the instructions. The scoreboard
accepts instructions that use Immediate and Offset Addressing Modes and stores the appropriate
values as a part of the Registers associated with a single instructions. The Scoreboard is
able to schedule Unsigned instructions, but it will not maintain proper values for it. It only
handles signed values.3. Compiling/Running the Program
This program assumes the environment is correctly setup with Java 6 on Windows. Any deviations
in this configuration will require additional setup parameters.To Compile and Run the Program, change a command prompt to the directory where the source files
reside. To compile the program, type:javac *.java
To run the program, place the source file with the filename data.in in the directory of the class
files created from the above compilation process and run with the command:java Project
If not using Windows, you must first be sure that you setup your
display Variable.E.g. Bash: export DISPLAY=myIP:0
Tcsh: setenv DISPLAY myIP:0Without a display set, the X windows system will not be able to display the menu of the program.
4. Reporting bugsYou can send an e-mail Tihomir Hristov and Mat Kelly