Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

EDIT** I split the skeleton circuit photo into 2 because it was unreadable. All the information below is background information to help in whatever way

EDIT** I split the skeleton circuit photo into 2 because it was unreadable.

All the information below is background information to help in whatever way possible. I was able to map out the truth table and it is CORRECT, now I just need help building the circuit (the last photo is of the given skeleton file).

The way I had originally completed it was horrifically wrong. (Again, the truth table is correct, verified by the instructor) I am just not implementing it properly!

Proper help will recieve a thumbs up :D

image text in transcribedimage text in transcribedimage text in transcribedimage text in transcribedimage text in transcribedimage text in transcribedimage text in transcribed

What to turn in quz is due a particular data. Goals 1. To practice implernenting a finite state machine controller. 2. To undestand the basies of how data moves in a processor. The Assignment Start from the following files that provide a partial implementation of elC-3 that you will camplete. Read this entire document before panicking. - eLC-3.c1rC contains the skelaton infiementation you must camplete * truthtable.xlsx shows a partial truth table for the implementation - elcjstatediagrampartial_prog previder a partial state diagram - elc3statediagcaipartial,htril provides a partial state diagren that you can save arid open with turi/dawio - tast. asm is a si mpla assomblar arogran you can axacuta aftar inplamentng Not. - test. hex is asaernbled object code you can laad afte- implementing NOT. You will comnolete the design and implementation of the eLC-3. The eLC-3 onily supports the following instructions: * NOT - ADO (aoth in register and immediate madel - AND (both in regiater and immediate model - uR 'oth conditonal and unconditionaly - 10 * ST Grading You will get cretit for this assignmrent by turning in vour elC-3. c1 fc file to checkin. and reserved sectons. - Here's the reference for some control signals that may not be obvious: - ALUK: 00 for +,01 for &, and 10 for - MEM.RW: 0 for reading and 1 for writing - MIO.EN: 0 if what's going to be loaded into the MDR comes from the bus. 1 if it comes from memory. - PCMUX: 0 if what's going to be loaded into the PC comes from the PC offset adder. 1 if it comes from the PC incrementer. - SR2MUX: 0 if the second aperand for the ALU comes from SR2. 1 if it comes from SEXT(IR[4:0]]. Testing instruction fetch and NOT instruction: .ORIG x0000 NOT R2, R1 .END First, notice that I'm using x0000 instead of the usual x3000 for the .ORIG. This is because it's not easy to load the program in a location other than x0000 in the eLC-3. Let's assemble this into a format that Logisim can understand. Use the following command (you may need to adapt it to your environment): cs270/1c3tools/lc3as-hextest.asm&sedi"1s/.*/v.0raw/"test.hex This generates the following file, test. hex: v2.raw947f your program. that is not 0 so that it actually branches. You may also want to change the value of R1 so that you can check that R2 eventually becomes R1. completed and check that the registers end up with the right values. You can always check the value present on a wire by clicking on it with the hand tool. Now that you read the entire document, you may panic at will. :-) Submitting the Assignment When finished, submit your eLC-3. circ file to the ELC3 box in the Checkin tab. ELC3 will be worth 120 points and counted as an assignment. eLC-3 CONTROLLER In ma What to turn in quz is due a particular data. Goals 1. To practice implernenting a finite state machine controller. 2. To undestand the basies of how data moves in a processor. The Assignment Start from the following files that provide a partial implementation of elC-3 that you will camplete. Read this entire document before panicking. - eLC-3.c1rC contains the skelaton infiementation you must camplete * truthtable.xlsx shows a partial truth table for the implementation - elcjstatediagrampartial_prog previder a partial state diagram - elc3statediagcaipartial,htril provides a partial state diagren that you can save arid open with turi/dawio - tast. asm is a si mpla assomblar arogran you can axacuta aftar inplamentng Not. - test. hex is asaernbled object code you can laad afte- implementing NOT. You will comnolete the design and implementation of the eLC-3. The eLC-3 onily supports the following instructions: * NOT - ADO (aoth in register and immediate madel - AND (both in regiater and immediate model - uR 'oth conditonal and unconditionaly - 10 * ST Grading You will get cretit for this assignmrent by turning in vour elC-3. c1 fc file to checkin. and reserved sectons. - Here's the reference for some control signals that may not be obvious: - ALUK: 00 for +,01 for &, and 10 for - MEM.RW: 0 for reading and 1 for writing - MIO.EN: 0 if what's going to be loaded into the MDR comes from the bus. 1 if it comes from memory. - PCMUX: 0 if what's going to be loaded into the PC comes from the PC offset adder. 1 if it comes from the PC incrementer. - SR2MUX: 0 if the second aperand for the ALU comes from SR2. 1 if it comes from SEXT(IR[4:0]]. Testing instruction fetch and NOT instruction: .ORIG x0000 NOT R2, R1 .END First, notice that I'm using x0000 instead of the usual x3000 for the .ORIG. This is because it's not easy to load the program in a location other than x0000 in the eLC-3. Let's assemble this into a format that Logisim can understand. Use the following command (you may need to adapt it to your environment): cs270/1c3tools/lc3as-hextest.asm&sedi"1s/.*/v.0raw/"test.hex This generates the following file, test. hex: v2.raw947f your program. that is not 0 so that it actually branches. You may also want to change the value of R1 so that you can check that R2 eventually becomes R1. completed and check that the registers end up with the right values. You can always check the value present on a wire by clicking on it with the hand tool. Now that you read the entire document, you may panic at will. :-) Submitting the Assignment When finished, submit your eLC-3. circ file to the ELC3 box in the Checkin tab. ELC3 will be worth 120 points and counted as an assignment. eLC-3 CONTROLLER In ma

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

SQL Server T-SQL Recipes

Authors: David Dye, Jason Brimhall

4th Edition

1484200616, 9781484200612

More Books

Students also viewed these Databases questions

Question

How should Grandview go about implementing a global rewards system?

Answered: 1 week ago

Question

What are Decision Trees?

Answered: 1 week ago

Question

What is meant by the Term Glass Ceiling?

Answered: 1 week ago