Java Pipelined datapath project

Closed Posted 4 years ago Paid on delivery
Closed Paid on delivery

This project should be done in 4~5 hours.

This program will be written in Java and will simulate how a pipelined datapath works. It

must have a function for each step in the pipeline: IF, ID, EX, MEM, and WB with the function names shown below.

Your main program will have some initialization code and then will be one big loop, where each time

through the loop is equivalent to one cycle in a pipeline. That loop will call those five functions, print out

the appropriate information (the 32 registers and both READ and WRITE versions of the four pipeline

registers) and then copy the WRITE version of the pipeline registers into the READ version for use the next

cycle.

That is, your main program's loop will have the following sequence after initialization:

IF_stage();

ID_stage();

EX_stage();

MEM_stage();

WB_stage();

Print_out_everything();

Copy_write_to_read();

You must follow this order and include these exact function names for the five stages. Projects which go

in the inverse order -- starting with WB, then MEM, then EX, then ID, then IF -- will get a zero!

Your program will use an array called Main_Mem to simulate a 1K Main Memory. It should be initialized as

follows: Main_Mem[0]=0, Main_Mem[1]=1, …Main_Mem[0xFF]=0xFF, Main_Mem[0x100] = 0 and so on.

(Note: 0xFF is the largest value that can be put in a byte, so after Main_Mem[0xFF]=0xFF, you start over

with Main_Mem[0x100] = 0 and Main_Mem[0x101] = 1.) Your program will have simulated registers,

which will just be an array of integers called Regs. For example, in C++ you could do: int Regs[32]; These

registers are given initial values of x100 plus the register number except for register 0 which always has the

value 0. (So $0=0, $1=0x101, $2=0x102, ... $10 = 0x10a, … $31=0x11f. (Reminder: register numbers are

decimal.) You MUST use the exact names Main_Mem and Regs for the arrays.

Full details: [login to view URL]

C Programming Engineering Java JavaFX Software Architecture

Project ID: #19344509

About the project

7 proposals Remote project Active 4 years ago

7 freelancers are bidding on average $139 for this job

hbxfnzwpf

I am very proficient in c and c++. I have 16 years c++ developing experience now, and have worked for more than 7 years. My work is online game developing, and mainly focus on server side, using c++ under Linux environ More

$80 USD in 2 days
(166 Reviews)
7.1
wangbeizou

Hello. How are you today. I have read and understood this task. I have a lots of experience and very good knowledge of Data structures, Algorithms Design, Computer Architecture. And I'm expert in Java, JavaFX ,C/C More

$140 USD in 3 days
(201 Reviews)
6.5
TalAkerele

Hi, I am very happy to bid your project. I read your requirements carefully,so i see what you mean. I have been experiments with C Programming, Engineering, Java, JavaFX, Software Architecture I'd like to work with More

$133 USD in 0 days
(27 Reviews)
5.0
DianaAli0608

I can do this project. I have experience of Python, C & C++ and Java programming for 5+ years. I can satisfy you perfectly. Please contact me and discuss in detail.

$155 USD in 3 days
(26 Reviews)
4.6
kkc1985612

Hello. I'm interested in your job. I have 7+ experience in java. Please send me a message so that we can discuss more. When I launch myself into a project I become obsessed and work tirelessly until completion of a pro More

$150 USD in 1 day
(31 Reviews)
5.3
uzairnaseer920

I hold a degree in Computer Engineering. I minored in Programming with a focus in java. Whether independent or operating on a team my analytical approach to problem solving has been a plus. i have experience of 5 ye More

$90 USD in 3 days
(16 Reviews)
3.6
shenji108

Hello, sir. I got your requirement. I am familiar to java and c. so no problem. pls, contact me. Thanks. best regards.

$222 USD in 1 day
(1 Review)
0.0