Find Jobs
Hire Freelancers

C Programming —Pipelining/Superscalar Architecture

$10-30 USD

Closed
Posted almost 8 years ago

$10-30 USD

Paid on delivery
Objective: To calculate the performance of a program with dependent arithmetic instructions, by simulating the execution on (i) a simple 6-stage pipeline architecture; (ii) a superscalar 6-stage architecture of degree 2 (2 sets of functional units). Inputs:  Number of instructions in the program  Set of automatically numbered instructions containing arithmetic register assignments  Architecture to simulate program on (pipelined, superscalar) Outputs:  The total cycle count for the program  Gantt chart showing delays of instructions Specification: The program calculates the performance of a set of arithmetic register assignment statements and prints out the aligned instructions based on choosing from a menu of choices, where each choice calls the appropriate procedure, where the choices are: 1) Enter instructions 2) Calculate/chart total cycles on a 6-stage pipelined architecture 3) Calculate/chart total cycles on a 6-stage superscalar architecture 4) Quit program (Hint: to recognize data dependencies, store the register indices in a struct containing fields for the destination register index, both source register indices, and the dependency delay. (Printing hint: To align stages, use printf(“\t…”) ) Output: Pipelined/Superscalar instruction performance --------------------------------------------- 1) Enter instructions 2) Calculate/chart total cycles on a 6-stage pipelined architecture 3) Calculate/chart total cycle on a 6-stage superscalar architecture 4) Quit program Enter selection: 1 Enter total number of instructions: 5 1) r0=r1+r2 2) r1=r0+r3 3) r2=r3+r2 4) r0=r2+r0 5) r3=r3+r3 Pipelined/Superscalar instruction performance --------------------------------------------- 1) Enter instructions 2) Calculate/chart total cycles on a 6-stage pipelined architecture 3) Calculate/chart total cycle on a 6-stage superscalar architecture 4) Quit program Enter selection: 2 Total number of cycles: 14 1)FI DI CO FO EI WO 2) FI DI CO FO EI WO 3) FI DI CO FO EI WO 4) FI DI CO FO EI WO 5) FI DI CO FO EI WO Pipelined/Superscalar instruction performance --------------------------------------------- 1) Enter instructions 2) Calculate/chart total cycles on a 6-stage pipelined architecture 3) Calculate/chart total cycle on a 6-stage superscalar architecture 4) Quit program Enter selection: 3 Total number of cycles: 12 1)FI DI CO FO EI WO 2) FI DI CO FO EI WO 3) FI DI CO FO EI WO 4) FI DI CO FO EI WO 5) FI DI CO FO EI WO Pipelined/Superscalar instruction performance --------------------------------------------- 1) Enter instructions 2) Calculate/chart total cycles on a 6-stage pipelined architecture 3) Calculate/chart total cycle on a 6-stage superscalar architecture 4) Quit program Enter selection: 4 %
Project ID: 10498233

About the project

5 proposals
Remote project
Active 8 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
5 freelancers are bidding on average $87 USD for this job
User Avatar
I am very proficient in c and c++. I have 16 years c++ developing experience now, and have worked for more than 6 years. My work is online game developing, and mainly focus on server side, using c++ under linux environment. I used c++ to make many great projects, for example, I made the tools which can convert java files into c++ scripts, of course garbage collection included, this job is very similar to a compiler, and is very complex. I also made our own mobile game using c++, I can show you the demo of client, if you like. I am very proficient in java also. I have a very good review on Freelancer.com, I never miss a project once I accept the job, you can check my review. Trust me, please let expert help you.
$80 USD in 2 days
4.9 (60 reviews)
6.3
6.3
User Avatar
Hello, I can do this. I have been programming in c, c++ and Linux for last 8+ years. I have developed many complex software's involving System Programming, Network Programming , Socket Programming,, Shared Memory, IPC, Queue etc .. Check my profile: https://www.freelancer.com/u/rajeshpal007.html -Rajesh
$157 USD in 5 days
5.0 (21 reviews)
5.0
5.0
User Avatar
Hello! We are 2 PhD in Math. We can solve your task. We have large experience program analyzes. Also we have large experience C / C++.
$111 USD in 2 days
4.7 (4 reviews)
2.0
2.0
User Avatar
The project will be as according to the description and to be completed in 5 days. THe input output wil be in console mode and coding is in standard C API libraries. Please reply and message me if interested and for further discussion/prelim code design.
$55 USD in 5 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of UNITED STATES
northridge, United States
5.0
11
Payment method verified
Member since Nov 10, 2015

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.