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 Mux {
|
||||
OUT out;
|
||||
|
||||
PARTS:
|
||||
// Mux(a,b,sel) = Or(And(a, Not(sel)), And(b, sel))
|
||||
// sel=0 picks a, sel=1 picks b
|
||||
Not(in=sel, out=tmp1);
|
||||
And(a=a, b=tmp1, out=tmp2);
|
||||
And(a=b, b=sel, out=tmp3);
|
||||
|
||||
Reference in New Issue
Block a user