mirror of
https://github.com/jackyzha0/quartz.git
synced 2025-12-24 21:34:06 -06:00
vault backup: 2022-07-19 20:41:12
This commit is contained in:
parent
1eb4dece67
commit
b1cfd23e5e
@ -11,6 +11,29 @@ 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)
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# Circuit basics:
|
||||
- current flows + to -
|
||||
- input to a unit (e.g., LED) is the + end
|
||||
|
||||
@ -5,4 +5,31 @@ tags:
|
||||
- cosc204
|
||||
---
|
||||
|
||||
Often used to describe
|
||||
Often used to describe/define Combinatorial logic circuits
|
||||
|
||||
# Precedence
|
||||
Precedence
|
||||
- NOT is unary, so it has the highest precedence
|
||||
- AND is mulitply, so it comes next
|
||||
- OR is like plusl, to it comes last
|
||||
|
||||

|
||||
|
||||
# Creating boolean equations
|
||||
|
||||

|
||||

|
||||
|
||||
Creating boolean equations:
|
||||
- for each row where output is 1
|
||||
- write the equation as a function of the inputs (using AND)
|
||||
- Write the final equation, putting OR between each clause
|
||||
|
||||
# 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]
|
||||
|
||||
[^2] : The Apollo Guidance Computer used about 5600 NOR gates and no other gate types!
|
||||
8
content/notes/combinatorial-logic-circuit.md
Normal file
8
content/notes/combinatorial-logic-circuit.md
Normal file
@ -0,0 +1,8 @@
|
||||
---
|
||||
title: "combinatorial-logic-circuit"
|
||||
aliases: logic circuit
|
||||
tags:
|
||||
- cosc204
|
||||
---
|
||||
|
||||
|
||||
@ -17,6 +17,8 @@ tags:
|
||||
- [unicode](notes/unicode.md)
|
||||
- [digital-data](notes/digital-data.md)
|
||||
- [memory](notes/memory.md)
|
||||
- [boolean-equations](notes/boolean-equations.md)
|
||||
-
|
||||
|
||||
- Hardware
|
||||
- Assembly
|
||||
|
||||
Loading…
Reference in New Issue
Block a user