Lab0 Manual (1)

docx

School

Arizona State University *

*We aren’t endorsed by this school

Course

120

Subject

Electrical Engineering

Date

Feb 20, 2024

Type

docx

Pages

4

Uploaded by PrivateClover24044

Report
EEE 120 Lab 0 Answer Sheet (Online Class) Tutorial: Using Digital Name:______________Anjana Shyam_______________________________________________________________ Semester/Year/Session (A/B):_________A______________ Date:____1/9/2024_______________________ Task 0-1: Build a 2-input XOR gate using AND/OR/NOT gates in Digital Include a picture of your Digital circuit here: Please comment on the single biggest issue you were facing when designing the circuit. Deleting the wires was one of the biggest issues I faced when designing the circuit, because I had to undo many of the wires I inputted previously, in order to delete the incorrect wire, which ended up being a lot more time consuming than previously expected. Task 0-2: Simulate the design in visually in Digital Include a picture of your simulated circuit here (only one picture with any combination of inputs you choose):
Try several input combinations from the truth table. Do you get the expected output when feeding these inputs? (Y/N) If one of the inputs is light green(1), than the output is (1). However if both of the inputs are light green or dark green than the corresponding output is (0). When one of the inputs is light green, one of the AND gates will output a 1 which will then output a 1 when being fed through the OR gate. Task 0-3: Export the design and simulate in Verilog Include a picture of your GTKWave simulation (timing diagram) here:
Please answer the following questions: 1. How do you expect the output of a 2-input XOR gate to behave? When both of the inputs are 0 or 1, the expected output is 0, and when one of the inputs is a 1 then the expected output is also 1. When observing wave behavior, a high and a low input will produce a high output. Subsequently, two low inputs or two high inputs will produce a low output . 2. What tests did you perform to verify your logic circuit? The expected output based on a certain input was given in this lab. The hex values of the inputs were given on the right side and the expected output was given on the left side. Only two digits of the binary values were used in this lab. Corresponding to the hex value 0 were the inputs 00, and corresponding to the hex value 1 were the inputs 01. According to the given inputs, the expected outcome for two 1’s and two 0’s is 0, and the expected outcome for 10 or 01 is 1. A waveform simulation was performed to verify my circuit. 3. Did the circuit behave as expected? If no, what was wrong? In this case, my solution is correct because both inputs being 0 in the 10 ns interval produced an output of 0. The inputs in the second interval being a 0 and a 1 produced an output of 1. The inputs in the third interval being a 1 and a 0 produced an output of 1, and the inputs both being a 1 in the fourth interval produced an output of 0. Task 0-4: [Optional/Ungraded] Create a video and submit your report [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.]
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
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 Lab0 directory. Create a zip file of the Lab0 directory. Remember to turn in the zip file and your completed template on Canvas! Make sure you upload the template before the zip file.