mirror of
https://github.com/jackyzha0/quartz.git
synced 2025-12-26 06:14:06 -06:00
vault backup: 2022-07-16 11:37:51
This commit is contained in:
parent
d3e8b6c74b
commit
d02e5fde91
@ -11,6 +11,10 @@ sr-ease: 250
|
|||||||
|
|
||||||
- [slides](https://blackboard.otago.ac.nz/bbcswebdav/pid-2954102-dt-content-rid-18888626_1/courses/COSC204_S2DNI_2022/L2%20-%20Combinatorial%20Logic.pdf)
|
- [slides](https://blackboard.otago.ac.nz/bbcswebdav/pid-2954102-dt-content-rid-18888626_1/courses/COSC204_S2DNI_2022/L2%20-%20Combinatorial%20Logic.pdf)
|
||||||
|
|
||||||
|
# Circuit basics:
|
||||||
|
- current flows + to -
|
||||||
|
- input to a unit (e.g., LED) is the + end
|
||||||
|
|
||||||
# Combinatorial Logic Circuit
|
# Combinatorial Logic Circuit
|
||||||
> [!Definition]
|
> [!Definition]
|
||||||
> Combinatorial Logic Circuit is a circuit whose digital outputs are dependent only on its digital inputs
|
> Combinatorial Logic Circuit is a circuit whose digital outputs are dependent only on its digital inputs
|
||||||
@ -41,22 +45,27 @@ Precedence
|
|||||||
|
|
||||||

|

|
||||||
|
|
||||||
De Morgan's Theorum
|
|
||||||
- (͞A͞+ B) = Ā · B̄
|
|
||||||
-
|
|
||||||
|
|
||||||
Creating boolean equations:
|
Creating boolean equations:
|
||||||
- for each row where output is 1
|
- for each row where output is 1
|
||||||
- write the equation as a function of the inputs (using AND)
|
- write the equation as a function of the inputs (using AND)
|
||||||
- Write the final equation, putting OR between each clause
|
- Write the final equation, putting OR between each clause
|
||||||
- [example](https://i.imgur.com/RoBTEfH.png)
|
- [example](https://i.imgur.com/RoBTEfH.png)
|
||||||
|
|
||||||
|
# De Morgan's Theorum
|
||||||
|
- !(A + B) = A! & !B
|
||||||
|
- !(A + B + C + ... + X) = !A & !B & !C & ... & !X
|
||||||
|
- [truth table](https://i.imgur.com/QegVxkx.png)
|
||||||
|
- any boolean function can be represented as the sum of logical products
|
||||||
|
- All combinatorial circuits can be described using just one gate type (either nand or nor) [^2]
|
||||||
|
|
||||||
|
# Transistors
|
||||||
|

|
||||||
|
|
||||||
|
- B: Base ⇒ A swtich connecting C to E
|
||||||
|
- c
|
||||||
|
- C: Collector
|
||||||
|
- E: Emitter
|
||||||
|
|
||||||
# Circuit basics:
|
|
||||||
- current flows + to -
|
|
||||||
- input to a unit (e.g., LED) is the + end
|
|
||||||
|
|
||||||
# Logic Gates
|
# Logic Gates
|
||||||
- NOT
|
- NOT
|
||||||
@ -70,3 +79,4 @@ Creating boolean equations:
|
|||||||
|
|
||||||
|
|
||||||
[^1] : In real circuits propagation delay must be considered, hence the clock cycle on CPUs
|
[^1] : In real circuits propagation delay must be considered, hence the clock cycle on CPUs
|
||||||
|
[^2] : The Apollo Guidance Computer used about 5600 NOR gates and no other gate types!
|
||||||
Loading…
Reference in New Issue
Block a user