mirror of
https://github.com/soconnor0919/eceg431.git
synced 2025-12-11 22:54:43 -05:00
Simplify comments to be more concise and student-like
- Removed verbose explanations - Made comments shorter and more casual - Focus on key concepts rather than formal descriptions
This commit is contained in:
@@ -11,7 +11,7 @@ CHIP Xor {
|
||||
OUT out;
|
||||
|
||||
PARTS:
|
||||
// Xor(a,b) = Or(And(a, Not(b)), And(Not(a), b))
|
||||
// Xor = (a AND !b) OR (!a AND b)
|
||||
Not(in=a, out=tmp1);
|
||||
Not(in=b, out=tmp2);
|
||||
And(a=a, b=tmp2, out=tmp3);
|
||||
|
||||
Reference in New Issue
Block a user