![Page 1: Logic Gates How Boolean logic is implemented. Transistors used as switches to implement Boolean logic: ANDOR Logic with Transistors](https://reader035.vdocument.in/reader035/viewer/2022071807/56649e565503460f94b4e9ae/html5/thumbnails/1.jpg)
Logic GatesHow Boolean logic is implemented
![Page 2: Logic Gates How Boolean logic is implemented. Transistors used as switches to implement Boolean logic: ANDOR Logic with Transistors](https://reader035.vdocument.in/reader035/viewer/2022071807/56649e565503460f94b4e9ae/html5/thumbnails/2.jpg)
• Transistors used as switches to implement Boolean logic:
AND OR
Logic with Transistors
![Page 3: Logic Gates How Boolean logic is implemented. Transistors used as switches to implement Boolean logic: ANDOR Logic with Transistors](https://reader035.vdocument.in/reader035/viewer/2022071807/56649e565503460f94b4e9ae/html5/thumbnails/3.jpg)
Logic Gates
• Digital electronics : design of binary systems• Gates are basic building block:– One for each of 6 Boolean logic rules
at tip means NOT
![Page 4: Logic Gates How Boolean logic is implemented. Transistors used as switches to implement Boolean logic: ANDOR Logic with Transistors](https://reader035.vdocument.in/reader035/viewer/2022071807/56649e565503460f94b4e9ae/html5/thumbnails/4.jpg)
Not
Plus one additional gate• NOT gate reverses a signal
Input Output
0 1
1 0
![Page 5: Logic Gates How Boolean logic is implemented. Transistors used as switches to implement Boolean logic: ANDOR Logic with Transistors](https://reader035.vdocument.in/reader035/viewer/2022071807/56649e565503460f94b4e9ae/html5/thumbnails/5.jpg)
Combinations
• Output of one gate can serve as the input to the next gate
• Use to produce new logic:– Ex: Two ANDs used to make a 3 input AND
Interactive
![Page 6: Logic Gates How Boolean logic is implemented. Transistors used as switches to implement Boolean logic: ANDOR Logic with Transistors](https://reader035.vdocument.in/reader035/viewer/2022071807/56649e565503460f94b4e9ae/html5/thumbnails/6.jpg)
Combinations
• Can also create basic gates from other ones• Ex: AND fed into NOT same as NAND
![Page 7: Logic Gates How Boolean logic is implemented. Transistors used as switches to implement Boolean logic: ANDOR Logic with Transistors](https://reader035.vdocument.in/reader035/viewer/2022071807/56649e565503460f94b4e9ae/html5/thumbnails/7.jpg)
• NOR and NAND gates are universal– Can be used to make any other gate
• Ex: AND made with NORs:
Interactive
Universal Gates
![Page 8: Logic Gates How Boolean logic is implemented. Transistors used as switches to implement Boolean logic: ANDOR Logic with Transistors](https://reader035.vdocument.in/reader035/viewer/2022071807/56649e565503460f94b4e9ae/html5/thumbnails/8.jpg)
• NOR gates can be single transistor– Electrically simple to design– Apollo’s mission computer was built
exclusively from NOR gates
NOR
Universal Gates
![Page 9: Logic Gates How Boolean logic is implemented. Transistors used as switches to implement Boolean logic: ANDOR Logic with Transistors](https://reader035.vdocument.in/reader035/viewer/2022071807/56649e565503460f94b4e9ae/html5/thumbnails/9.jpg)
Useful Circuits:
• Simple Memory• Decoder• HalfAdder
![Page 10: Logic Gates How Boolean logic is implemented. Transistors used as switches to implement Boolean logic: ANDOR Logic with Transistors](https://reader035.vdocument.in/reader035/viewer/2022071807/56649e565503460f94b4e9ae/html5/thumbnails/10.jpg)
Building A Truth Table
• Inputs are always the same (need every combo)– You figure out outputs:
• More inputs = more combinations 3inputs = 8 rows4 inputs = 16 rowsetc…
Input0 Input1 Output00 0 ?0 1 ?1 0 ?1 1 ?
![Page 11: Logic Gates How Boolean logic is implemented. Transistors used as switches to implement Boolean logic: ANDOR Logic with Transistors](https://reader035.vdocument.in/reader035/viewer/2022071807/56649e565503460f94b4e9ae/html5/thumbnails/11.jpg)
Using the Circuit Simulator
• Always start with DC power• Use Toggles as inputs– Click name below components to rename
• Use LEDs as outputs• Wire by dragging from one
connector dot to another
![Page 12: Logic Gates How Boolean logic is implemented. Transistors used as switches to implement Boolean logic: ANDOR Logic with Transistors](https://reader035.vdocument.in/reader035/viewer/2022071807/56649e565503460f94b4e9ae/html5/thumbnails/12.jpg)
Off On
Using the Circuit Simulator
• Red connector dots have power, black do not– Top input has power at
output– Bottom input is not letting
power through
• Toggle switches are “On” when light part is at bottom: