These slides: slides.cuban.tech/digital-electronics-1.html
Network: cubantech
Password: meet-ups
- Boolean logic, gates, logic circuits.
- Multiplexors
- ALU
- Bistable
- Hands-on! Build an SR Latch
If you have trouble finding a component, let us know and we'll get you a replacement
- Logic gates
- Multiplexors
- ALU
- Bistables
Feel free to select the components you like most and complete the challenges that most interest you
- Logic operation using 1's and 0's
- Join, intersection and complement operations
- CLC (Combinational Logic Circuit)
- Asynchronous
- SSC (Sequential Synchronous Circuit)
- Synchronous, generally with only one clock signal
- The negated version of a is /a
- a AND b = a * b
--
- a * a = a
- a * 1 = a
- a * /a = 0
- a * 0 = 0
- a OR b = a + b
--
- a + a = a
- a + 0 = a
- a + 1 = 1
- a + /a = 1
- a XOR b = a Ꚛ b
--
- a Ꚛ a = 0
- a Ꚛ /a = 1
- a Ꚛ 0 = a
- a Ꚛ 1 = /a
- a NAND b = /(a * b)
- a NOR b = /(a + b)
--
- Universal gates can replace ALL the other gates
- You can build any digital circuit using only NAND or NOR gates
--
- /(a + b) = /a * /b
- /(a * b) = /a + /b
--
--
--
-
x = a * b
-
y = /(b + c)
--
-
S = x Ꚛ y
-
S = (a * b) Ꚛ /(b + c)
--
--
--
- Sum of products or product of sums
- Every term of the expression is a canonical term
- A canonical term always contains ALL the inputs (or the negated inputs) exactly once
--
- A, B and C: inputs
- S = (A + B + C) * (/A + B + /C)
- S = (A * /B * /C) + (/A * /B * C) + (A * /B * C)
--
- Decide wether the canonical expression will be:
- a sum of products
- a product of sums
--
- Select all the combinations with S = 1
- If the value of an input in that combination is equal to S, then it will appear unchanged in the canonical term.
- If is different to S, then we put the negated version of that input.
--
--
- 0 0 0
- 1 0 0
- 1 1 0
- 1 1 1
--
Lets take the combination 1 0 0
- A = 1 (is equal to S => unchanged)
- B = 0 (is not equal to S => negated)
- C = 0 (is not equal to S => negated)
So the canonical term will be: A * /B * /C
--
For the combination 1 1 0 the canonical term is: A * B * /C
- The sum of canonical products for the table is:
- (/A * /B * /C) + (A * /B * /C) + (A * B * /C) + (A * B * C)
--
--
- Similar to the minterm but we take S = 0
- The product of canonical sums for the table is:
- (A + B + /C) * (A + /B + C) * (A + /B + /C) * (/A + B + /C)
--
- If the truth table contains more 1's than 0's in S, then use maxterm
- Otherwise use minterm
- The circuit obtained using the reverse way, is also valid but bigger
--
--
--
--
- NOT can be obtained from the property:
- /a = /(a + a)
- Using the De Morgan's laws...
--
- A + B
- A multiplexor is a Channel selector
- Select one of multiple inputs and put it on the output
- With n selection inputs you can address up to 2n signals.
--
- Is a circuit that allows you to select between operations
- The ALU can perform arithmetical or logical operations
--
--
- Performs XOR, AND, OR and SUM
--
- Intel Core i9 uses 7 ALUs per core
- Each ALU is different depending on the use
- Some ALUs performs only logic operations and simple arithmetic operations
- Some other ALUs performs complex operations like product or division
- They use the Skylake microarchitecture with support for up to AVX-512
- ALUs are used not only for variables but for compute the memory addressing
- A Bistable is a circuit that can be in one of two states for an undefined amount of time
- Can store information
- Asynchronous bistable
- SR-type
- D-type
--
--
--
--
- Step 1 (Power supply)
--
- Step 2 (Connecting inputs)
--
- Step 3 (SR latch feedback)
--
- Step 4 (Connecting LEDs)
--
- Result
- Synchronous bistable
- D-type
- JK-type
- T-type
--
- Is based on the D Latch
- The Enable input is replaced by a rising edge detector (Clock input)
--
- Registers
- Shift Registers
- Synchronous Systems Design (using Finite State Machine technique)
- Storage
- Counters
- Microprocessors
- Digital electronics (part 2)
- Karnaugh Map
- Finite State Machine
- Thank you for coming!