EEE Lab 3_

docx

School

Arizona State University *

*We aren’t endorsed by this school

Course

120

Subject

Electrical Engineering

Date

Feb 20, 2024

Type

docx

Pages

12

Uploaded by PrivateClover24044

Report
EEE 120 Lab 3 Answer Sheet (Online Class) Registers, Counters and the “Brainless CPU” Name:_____________Anjana Shyam________________________________________________________________ Semester/Year/Session (A/B):_____________A__________ Date:____1/30/2024_______________________ Task 3-1: Build and Test a 4-Bit D Register with Enable Include a picture of your Digital circuit here: Please comment on the single biggest issue you were facing when designing the circuit. The biggest issue I faced were the wire connections that I found confusing initially when building the circuit. Making sure every wire was connected to a component was difficult and I had to keep double checking my wire connections.
Include a picture of your GTKWave waveforms (timing diagram) here: Did the circuit behave as expected? If no, what was wrong? The circuit behaved as expected. When running the waveform simulation in GTK wave, there were no visible errors. Please comment on the single biggest issue you were facing when simulating the circuit. The biggest issue I faced when running the circuit was the command prompt errors that I experienced when I misspelled the commands that I send to the command prompt. Task 3-2: Build and Test a 4-Bit UP Counter
Include a picture of your Digital circuit here: Please comment on the single biggest issue you were facing when designing the circuit. The biggest issue I faced was having to check my incrementer component for errors when running the brainless cpu circuit. I had to check all the files that I copied from the lab 2 folder and had to adjust the wire connections to make sure the correct inputs were connected to the correct outputs. Did the circuit behave as expected? If no, what was wrong? The circuit behaved as expected. All the inputs behaved as expected generating the expected outputs. Please comment on the single biggest issue you were facing when simulating the circuit. Since copying files from one folder to another can cause Digital to rearrange some inputs and outputs, I had to adjust the wiring for incrementer to get the 4 bit counter to work as expected. Task 3-3: Create a 4-Bit RAM with 16 4-Bit Words Include a picture of your Digital 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. The schematic for the circuit was simple so I didn’t face any major issues when designing the circuit. It required some adjustment with the circuit specific settings the ram values hex document provided in the zip folder, which was different than what the circuits required previously. Did the circuit behave as expected? If no, what was wrong? The circuit behaved as expected producing the correct outputs when checking with the ram_vals document provided. However, this component resulted in several errors when I attempted to run the brainless cpu circuit in the command prompt later on. Please comment on the single biggest issue you were facing when simulating the circuit. Adhering to the instructions provided to run the circuit was initially confusing, and made more difficult by my attempt to speed up the process which caused me to miss a few steps producing incorrect outputs initially. Once I read the lab manual more closely and followed each instruction about simulating the circuit step by step I didn’t run into any issues. Task 3-4: Build and Test the Brainless Central Processing Unit
Include a picture of your Digital circuit here: Please comment on the single biggest issue you were facing when designing the circuit. I faced several issues when designing the brainless cpu circuit. I ran into several errors with my alu component that required me to redo several circuits until my alu component was able to run smoothly. I still experienced errors when running my brainless cpu circuit until I noticed that my AlU inputs were in an incorrect order. This took much longer than expected, making this circuit one of the most difficult to design. Did the circuit behave as expected? If no, what was wrong? The circuit did not behave as expected. When I ran the circuit in the Command Prompt, I ran into several warning messages from the command prompt. Port 1 of the DIG_RAMDualPort expected 4 bits, but got 1. This message was repeated 4 times, corresponding to 4 subsequent errors. I simulated the circuit several times in Digital and everything was working as expected. I simulated the 4 bit RAM Circuit several times and there were no errors, so I couldn’t identify the issue. Please comment on the single biggest issue you were facing when simulating the circuit. I received several warning messages when running the circuit using the command prompt on my windows computer, corresponding to errors in my waveform simulation. I tested the circuit
several times in Digital and the circuit was behaving as expected, and producing the expected output. After several trials, I still couldn’t identify the issue. Task 3-5: Simulate the Brainless Central Processing Unit Include a picture of your GTKWave waveforms (timing diagram) here: Did the circuit behave as expected? If no, what was wrong? No, there were several errors when running the waveform simulation for the circuit. I got several warning messages when running the waveform using the command prompt that the DIG_RamDualPort was expected 4 bits and received 1, and this message was repeated 4 times. I adjusted the 4 bit Ram circuit several times, making sure that my bit assignments were correct but I still couldn’t identify the issue. Please comment on the single biggest issue you were facing when simulating the circuit. The biggest issue I faced were the warning messages that I generated when simulating the circuit. I attempted to fix the error several times with minimal success. Task 3-6: Create Additional Tests
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
In order to stay organized, you may use the table here to map out the different values for each test. Repeat this table for each of the additional ALU operations. Table 1 Operation [ Add operand to Accumulator (ACC) ] Control Line Value data_in 0 addr_bus Address of operand write 0 read 1 acc_to_db 0 load_acc 1 pass 0 invert 0 arith 1 Include a picture of your Digital circuit here:
Include a picture of your GTKWave waveforms here (one per required test):
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. I ran into several errors when designing the brainless CPU. As stated previously, I ran into several issues with the ALU component of the circuit that forced me to toggle the wire connections for the inputs and outputs for every file copied from lab 2 and make sure every single input order and output order from the custom components was correct before running the circuit. Did the circuit behave as expected? If no, what was wrong?
Since my original schematic wasn’t working and I ran into several errors when running the original waveform simulation, the other stimulus files that I created to test other functions of the circuit produced errors as well. The errors were propagated to the other tests that I ran. Please comment on the single biggest issue you were facing when simulating the circuit. I faced the same issue when simulating the circuit using the other stimulus files that I faced when running the circuit using the stimulus file provided in the zip folder. My waveform simulation produced the same errors. Task 3-7: Create a video and submit your report (Optional) [This task is useful to get partial credit if your schematic is not working. Take advantage of it to explain to the grader your understanding of the circuit. More importantly, explain where you think the mistake is in and what you would do if you were given more time to fix it.] Record a short video showing your schematic in Digital and your waveforms in GTKWave. Be sure to show yourself in the video and show your screen. Upload the video to your Google Drive (personal one or ASU one). Copy and paste the sharing link to that video here. Make sure the link is working and pointing to the correct video. Do NOT upload your video to YouTube. If your circuit is not working as expected, explain in the video how it is not working and where you expect the mistake to be from. 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 Lab3 directory. Create a zip file of the Lab3 directory. Remember to turn in the zip file and your completed template on Canvas! Make sure you upload the template before the zip file. Lab 3: Lab Report Grade Sheet Name: Instructor Assessment
Grading Criteria Max Points Points Lost Description of Assigned Tasks, Work Performed & Outcomes Met Task 3-1: Build and Test a 4-Bit D Register with Enable 10 Task 3-2: Build and Test a 4-Bit UP Counter 10 Task 3-3: Create a 4-Bit RAM with 16 4-Bit Words 10 Task 3-4: Build and Test the Brainless Central Processing Unit 10 Task 3-5: Simulate the Brainless Central Processing Unit 10 Task 3-6: Create Additional Tests 30 Task 3-7: Create a video and submit your report (Optional) Points Lost Lab Score (80 points total) Late Lab Lab Score
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