home *** CD-ROM | disk | FTP | other *** search
- TRUTH TABLES
-
- Three different forms of the same logic are shown here, first as a Boolean
- equation, then as a binary truth table, and finally as a decimal truth
- table. See Chapter 6 of the reference guide for a discussion of truth
- tables.
-
- |PAL14H4 in:(A, B, C, D), out:(U, V, W)
- |
- | U = ( A & (B#C) ) # ( D & (B#C) ) |As a Boolean equation.
- |
- | Table: A, B, C, D -> V |As a binary truth table.
- | { 000Xb -> 0
- | 0010b -> 0
- | 0011b -> 1
- | 0100b -> 0
- | 0101b -> 1
- | 0110b -> 0
- | 0111b -> 1
- | 100Xb -> 0
- | 101Xb -> 1
- | 11XXb -> 1 }
- |
- | Table: A, B, C, D -> W |As a decimal truth table.
- | { 0..2 -> 0
- | 3 -> 1
- | 4 -> 0
- | 5 -> 1
- | 6 -> 0
- | 7 -> 1
- | 8..9 -> 0
- | 10..15 -> 1 }
-
- | Vectors:
- | { Display (A, B, C, D), " -> ", U, V, W
- | Test A, B, C, D
- | End }
-
-