Logic Gates & Boolean Flashcards
Week 3, 6 (46 cards)
NAND gate
NOR gate
XOR gate
XNOR gate
what other representative is disjunctive normal form similar to
sum of products
what other representative is conjunctive normal form similar to
product of sums
how are expressions represented in DNF or SOP
C1 v C2 v C3 …
how are clauses represented in DNF or SOP
L1 ^ L2 ^ L3 …
what form is (A ^ ¬B ^ ¬ C) v (¬D ^ E ^ F) in
DNF
what form is AB + C in
SOP
how to convert to DNF or SOP
- use a truth table
- pick out rows where output is 1
- if input is row is 0, negate the corresponding variable
how are expressions represented in CNF or POS
C1 ^ C2 ^ C3 …
how are clauses represented in CNF or POS
L1 v L2 v L3
what form is (A v ¬B v ¬C) ^ (¬D v E v F) in
CNF
what form is (A + B).C in
POS
how to convert to CNF or POS
- use truth table
- pick out rows where the output is 0
- if input in row is 1, negate the corresponding variable
name the 7 combinational logic circuits
- multiplexor
- demultiplexor
- decoder
- ROM
- Adder
- Half-adder
- Mulit-bit adders
what is a multiplexor
- selector
- one of the inputs will be the output by using signal input bits
- USES: program counter - control routing of data or signals
what is a demultiuplexor
- selects output path by using signal input bits
- opposite to multiplexor
what is a decoder
- circuit with n inputs & 2^n outputs
- determines output line based on inputs
- USES: address decoding & address space
how is ROM a combinational logic circuit
- can be implemented as a decoder and OR gates
- decoder selects address
- four outputs give 4-bit value stored there
draw a half adder
draw a full adder
how to make a 4-bit adder
4 x 1-bit adders