Lab4 Template

pdf

School

Arizona State University *

*We aren’t endorsed by this school

Course

120

Subject

Electrical Engineering

Date

Feb 20, 2024

Type

pdf

Pages

11

Uploaded by DeanAardvarkMaster566

Report
CSE/EEE 120 Lab 4 Answer Sheet The Complete Microprocessor Name: Ivan Bustamante Campana Instructor/Time: Millman, 4:30pm Date:11/8/2023 Task 4-1: Build and Test the Memory-Address-Generation Circuit Include a picture of your Digital circuit here: Please comment on the single biggest issue you were facing when designing the circuit. Making sure the circuit displayed the correct output Did the circuit behave as expected? If no, what was wrong?
Yes the circuit behaved correctly. Please comment on the single biggest issue you were facing when simulating the circuit. Making sure everything was connected correctly Task 4-2: Build and Test the Controller Circuit Include a picture of your two_bit_mux circuit here: Please comment on the single biggest issue you were facing when designing the circuit. Disconnecting the right wires Did the circuit behave as expected? If no, what was wrong? Yes it did , the circuit is running correctly Please comment on the single biggest issue you were facing when simulating the circuit.
Making sure the output was correct Include a picture of your two_bit_reg circuit here: Please comment on the single biggest issue you were facing when designing the circuit. Making sure every wire was connected and disconnected correctly. Did the circuit behave as expected? If no, what was wrong? Yes it behaved how it should be Please comment on the single biggest issue you were facing when simulating the circuit. Making sure the output was correct and that it ran correctly. Include a picture of your controller circuit here:
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help
Please comment on the single biggest issue you were facing when designing the circuit. Connecting the tunnels Did the circuit behave as expected? If no, what was wrong? Yes I think its running correctly Please comment on the single biggest issue you were facing when simulating the circuit. Making sure it ran well Task 4-3: Build the Complete Microprocessor Circuit Include a picture of your Digital circuit here (make sure to show final values as shown in figure 17
Please comment on the single biggest issue you were facing when designing the circuit. Connecting every wire correctly Did the circuit behave as expected? If no, what was wrong? It seems to have a problem with the controller Please comment on the single biggest issue you were facing when simulating the circuit. Making sure the output was right Task 4-4: Simulate the Design in Verilog Include a picture of your waveforms here: Unable to get waveforms correctly Please comment on the single biggest issue you were facing when simulating the processor.
Making sure it worked Did the circuit behave as expected? If no, what was wrong? Please comment on the single biggest issue you were facing when simulating the circuit. Making sure everything was right and modifying the code Task 4-5: Add the AND, ZERO, SUB, and STORE ACC Instructions Use Table 1 and Table 2 to enter your values into the microinstruction definition table for each of the four instructions asked for in the laboratory manual. Be sure to label the name of each and every instruction. Table 1 Instruction AND ZERO Opcode 3 4 step 00 01 02 03 00 01 02 03 Description Bit # next_step[1:0] 13:12 unused 11:10 use_pc 9 load_mar 8
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help
arith 7 invert 6 pass 5 load_acc 4 acc_to_db 3 read 2 write 1 load_ir 0 Table 2 Instruction SUB STORE ACC Opcode 5 6 step 00 01 02 03 00 01 02 03 Description Bit # next_step[1:0] 13:12 unused 11:10 use_pc 9 load_mar 8 arith 7 invert 6 pass 5 load_acc 4 acc_to_db 3 read 2 write 1
load_ir 0 Test your instructions by writing and executing programs. Record at least four programs and the output of each program in tables like that of Table 3. Table 3 Program #0 ( Example : ADD = 3+5) Address Value Operation (In English) 0 0 The 'Load ACC' Opcode 1 3 The number '3' to be loaded into the Accumulator 2 1 The 'Add to ACC' Opcode 3 5 The number '5' to be added to the Accumulator 4 2 The 'Stop' Opcode What was the final output of your program? ___8__ Was the program successful? YES_ If not what error(s) did you find in your circuit? Program # ( ) Address Value Operation (In English) What was the final output of your program? _____ Was the program successful? Yes or No_ If not what error(s) did you find in your circuit? Include a picture of your AND waveforms here:
Include a picture of your ZERO waveforms here: Include a picture of your SUB waveforms here: Include a picture of your STORE ACC waveforms here: Did the circuit behave as expected? If no, what was wrong? Please comment on the single biggest issue you were facing when simulating the circuit. Include a picture of your rom_vals.hex if your made choice 1 or 2 or a picture of the ROM for choice 3 here: Include your program from ram_vals.txt: Task 4-6: Invent Your Own Instruction (Extra Credit) Table 4 Instruction Opcode 7 step 00 01 02 03 Description Bit # next_step[1:0] 13:12 unused 11:10 use_pc 9 load_mar 8 arith 7 invert 6 pass 5 load_acc 4
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help
acc_to_db 3 read 2 write 1 load_ir 0 Include your Verilog program here: Include a picture of your waveforms here: Include a picture of your ROM contents here: Task 4-7: Create a video and submit your report Record a short video showing your schematics in Digital and your waveforms in GTKWave. Be sure to show yourself in the video and show your screen. Explain how your circuit works you need to convince the grader you did the lab and understand it! Copy and paste the link to your video below. Make sure the link is working and pointing to the correct video. Remember to include the password if required. Do NOT upload your video to Canvas or YouTube. If your circuit is not working as expected, explain in the video how it is not working and why you think it is not working. Video Link: At the beginning of your recording, say your name, the task number and circuit name. Be brief in your recording. Submit the completed template to Canvas. Make sure all your files are in the Lab2 directory. Create a zip file of the Lab2 directory. Remember to turn in the zip file and your completed template on Canvas! Do not include the video in the zip file! This makes the file very large and you run the risk of the zip file not uploading or taking so long to upload that your submission will be late. Remember that the submission is dated at the time the upload completes, not when it starts!
L AB 4: L AB R EPORT G RADE S HEET Name: NOTE: You submit the zip file in order to show your work. If the zip file is not submitted there is a 5 point deduction! Instructor Assessment Grading Criteria Max Points Points Lost Description of Assigned Tasks, Work Performed & Outcomes Met Task 4-1: Build and Test the Memory-Address-Generation Circuit 10 Task 4-2: Build and Test the Controller Circuit 10 Task 4-3: Build the Complete Microprocessor Circuit 10 Task 4-4: Write and Execute a Simple Program for Your Microprocessor in Simulation 10 Task 4-5: Add the ‘AND’, ‘Zero’, ‘Subtract’, and ‘Store ACC’ Instructions 30 Task 4-6: Invent Your Own Instruction (Extra Credit) 10 Task 4-7: Record your video 10 Points Lost Lab Score (80 points total) Late Lab Lab Score