mirror of
https://github.com/soconnor0919/eceg431.git
synced 2025-12-11 22:54:43 -05:00
Refactor: Use simple tmp variable names instead of descriptive ones
- Changed nandOut -> tmp - Changed notA, notB -> tmp1, tmp2 - Changed descriptive names -> tmp1, tmp2, tmp3, etc. Makes code cleaner and more concise while maintaining functionality.
This commit is contained in:
@@ -12,6 +12,6 @@ CHIP And {
|
||||
|
||||
PARTS:
|
||||
// And(a,b) = Not(Nand(a,b))
|
||||
Nand(a=a, b=b, out=nandOut);
|
||||
Not(in=nandOut, out=out);
|
||||
Nand(a=a, b=b, out=tmp);
|
||||
Not(in=tmp, out=out);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user