eXTReMe Tracker WARNING: The opinions expressed and linked to in this blog are not necessarily mine (anymore).

My ideas are constantly changing as I learn. Sometimes they even change midway through writing a post.

Wednesday, October 5

FPGA Part IV - Boolean Logic

It's been a while since I've thought about this Boolean Logic, so I browsed a bit looking for information for my review. Of course, I immediately found it it on one of my favorite sites - How Stuff Works

I'm just going to write it out for my reference:
(sorry for the formatting, having difficulty with blogger and tables)







ANDORADD
0 0 00 0 00 0 0
0 1 00 1 10 1 1
1 0 01 0 11 0 1
1 1 11 1 11 1 10


I had a bit of fun writing all this out long form. I don't know if anyone else would appreciate the humor in it.
0 or 0 is 0, 0 or 1 is 1, 1 or 0 is 1, 1 or 1 is 1
0 and 0 is 0, 0 and 1 is 0, 1 and 0 is 0, 1 and 1 is 1
0 plus 1 is 1, 1 plus 1 is 10

AND is often substituted with plus in everday usage. Get it? (Ok, I know, to a geek it's probably not new information, to anybody else it doesn't matter. I think I must be in that weird middle ground - geeky enough to understand it and not geeky enough to find it old news.)

1 comment:

Anonymous said...

AND is usually identified with multiplication,
OR with addition.

0 + 0 = 0 0 * 0 = 0
0 + 1 = 1 0 * 1 = 0
1 + 0 = 1 1 * 0 = 0
1 + 1 = (1)0 1 * 1 = 1

Eric