Truth Table
in | f(in)
--------
0 | 1
1 | 0
Boolean Expressions
!x
----------------------------------------
CHIP Not
{
IN in;
OUT out;
PARTS:
Nand(a=in, b=in, out=out);
}
----------------------------------------
Fairly simple gate
For TRUE(1), TRUE and TRUE is TRUE making the NAND gate return FALSE(0)
For FALSE(0, FALSE and FALSE is FASLE making the NAND gate return TRUE(0)
Out Becomes the opposite of in.
No comments:
Post a Comment