From 905e49b4d7dab27a927482a26b693b0552dde9f3 Mon Sep 17 00:00:00 2001 From: arc Date: Fri, 10 Jan 2025 09:37:02 -0700 Subject: [PATCH] vault backup: 2025-01-10 09:37:02 --- .../computer engineering/ECE2700/Binary Logic.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/education/computer engineering/ECE2700/Binary Logic.md b/education/computer engineering/ECE2700/Binary Logic.md index 0856cdb..13a6297 100644 --- a/education/computer engineering/ECE2700/Binary Logic.md +++ b/education/computer engineering/ECE2700/Binary Logic.md @@ -39,3 +39,17 @@ A NAND gate outputs a 1 *unless* both inputs are enabled. A NAND operation is mathematically expressed using a bar over an AND operation: $$ y = \overline{x_1 \cdot x_2}$$ + +# OR Gate +An OR gate outputs a 1 if either or both inputs are enabled. +## Truth Table +| $x_1$ | $x_2$ | $y$ | +| ----- | ----- | --- | +| 0 | 0 | 0 | +| 0 | 1 | 1 | +| 1 | 0 | 1 | +| 1 | 1 | 1 | +## Mathematical Expression +A mathematical OR is notated with a $+$ symbol. + +$$ y = x_1 + x_2 $$