home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 13 / 13.iso / p / p078 / 7.img / TUTOR.PLB / GATES.PLD < prev    next >
Encoding:
Text File  |  1990-12-11  |  512 b   |  15 lines

  1.                           SAMPLES OF BASIC GATES
  2.  
  3. Here are basic logic gates written as Boolean equations.  See Chapter 2 of
  4. the reference guide for further discussion.
  5.  
  6. |PAL12H6  in:(A, B), out:Y[1..6]
  7. |
  8. |    Y1 = A & B           |And
  9. |    Y2 = A # B           |Or
  10. |    Y3 = A ## B          |Exclusive or
  11. |    Y4 = A'              |Not
  12. |    Y5 = (A & B)'        |Nand
  13. |    Y6 = (A # B)'        |Nor
  14.  
  15.