Find Jobs
Hire Freelancers

C Programming —Pipelining/Superscalar Architecture

$10-30 USD

已关闭
已发布将近 8 年前

$10-30 USD

货到付款
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 %
项目 ID: 10498233

关于此项目

4提案
远程项目
活跃8 年前

想赚点钱吗?

在Freelancer上竞价的好处

设定您的预算和时间范围
为您的工作获得报酬
简要概述您的提案
免费注册和竞标工作
4威客以平均价$81 USD来参与此工作竞价
用户头像
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 在2天之内
4.9 (155条评论)
7.1
7.1
用户头像
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 在5天之内
5.0 (22条评论)
5.0
5.0
用户头像
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 在5天之内
0.0 (0条评论)
0.0
0.0

关于客户

UNITED STATES的国旗
northridge, United States
5.0
11
付款方式已验证
会员自11月 10, 2015起

客户认证

谢谢!我们已通过电子邮件向您发送了索取免费积分的链接。
发送电子邮件时出现问题。请再试一次。
已注册用户 发布工作总数
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
加载预览
授予地理位置权限。
您的登录会话已过期而且您已经登出,请再次登录。