tutorial3_4

tutorial3_4 - 1 Elec Elec Elec Elec 151 Tutorial #3 151...

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: 1 Elec Elec Elec Elec 151 Tutorial #3 151 Tutorial #3 151 Tutorial #3 151 Tutorial #3 Outline : • Lab 3: OrCAD Logic Simulation • Simple Demo • Problems 2 Is a diode that converts electrical current to light. Output I LED L 0 or <0 OFF H >0 ON Output Input 0V OFF, ON L, H A K I 330 Ω 5V LED (Light emitting diode) One more 2’s complement Example • Compute the subtraction “14-5” using 2’s complement technique 14 -- 1110 5 -- 0101 • How about 5-14? 4 (a) Prelab Design a “4-bit Magnitude Comparator circuit ” based on the “Adder-Subtractor” used in lab 2_1 that compares A and B. How should I modify the circuit? Note : the circuit must provide 3 outputs: x, y and z (If A=B , then the output x=1 . If A<B , then the output y=1 . If A>B , then the output z =1 ). Lab 3: Orcad Logic Simulation 4-bit Adder- Subtractor A(4:1) B(4:1) CARRY S(4:1) M x (A=B) y (A<B) z (A>B) 4-bit Magnitude Comparator 5 Main steps 1. Create a PSpice Netlist: (Tools ->Create netlist->Pspice)....
View Full Document

Page1 / 3

tutorial3_4 - 1 Elec Elec Elec Elec 151 Tutorial #3 151...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online