In: Electrical Engineering
Using Multisim
Verify the logic of the XOR and XNOR gates and compare to OR and NOR gates.
A) Orient the Word Generator and Logic Analyzer in the workspace and enter the appropriate settings. (BELOW)
B) To create the four gates you will need four 10K resistors and:
1) OR gate: a (7432)
2) NOR gate: an OR (7432) with an INV (7404)
3) XOR gate: a (7486)
4) XNOR gate: a XOR (7486) with an INV (7404).
C) Use outputs 00 and 01 of the Word Generator as inputs A and B for each of the four gates and connect them to the first two inputs of the Logic Analyzer.
D) Wire the outputs from the four gates to the next four Logic Analyzer inputs and connect each output to ground through a 10K resistor.
Fill in a Truth Table for each of the four gates
Word Generator
The pins 15…….0 go across the bottom. Double click on the Word Generator to get the Control screen and select the following settings: Frequency = 1 kHz Trigger = Internal Display = Hex (codes) Also SET to Up Counter before you enter ACCEPT to leave the screen.
Logic Analyzer
Select the following setting: Clock/Div = 16 From the setup screen, click on Clock SET and choose: Clock Source = Internal Pre-trigger samples = 160 Post-trigger samples = 160 Threshold = 2.5V Enter ACCEPT to leave the Clock SET screen. From the setup screen, click on Trig SET and choose: Trigger Clock Edge = Positive Trigger Qualifier = x Pattern A = xxxxxxxxxxxxxx Trigger Combinations = A Enter ACCEPT to leave the Trig SET screen
Here is the screeenshot of circuit setup
Here is the word generator setting as per the question
Here is the logic analyser clock setting
Here is the logic analyser trigger setting
Here is the running simulation
OR gate: It gives high output when any or both the input is high.
NOR gate: It gives high output when both the input is low
X OR gate : It gives high output when both the inputs are different
X NOR: It gives high output when both the input is same.
If my answer helped you, thumbs me up, please