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

  1.                           BIT-BLT DOT GENERATION
  2.  
  3. This example incorporates various signals like those used to to control a
  4. specialized bit-block transfer engine.
  5.  
  6. |PAL16L8 in:(BREQ, BBEG, OP[1..2], DEN[2,1], INV, DREQ, BITI, BITB),
  7. |        io:(REQ, ACK, DOT, MASK, DACK[1..2]),
  8. |        out:TREQ[1..2]
  9. |
  10. |  Title:   "BIT-BLT DOT GENERATION"
  11. |  High:     BREQ, BBEG, OP[1..2]
  12. |
  13. |  TREQ1  =  DREQ & DEN1
  14. |  TREQ2  =  DREQ & DEN2
  15. |
  16. |  MASK   =  OP[1..2]==1
  17. |         # (OP[1..2]==2 & DOT')
  18. |         # (OP[1..2]==3 & DOT)
  19. |
  20. |  DOT    = ((DEN1'#BITB) & (DEN2'#BITI)) ## INV
  21. |
  22. |  REQ    =  BREQ ## BBEG
  23. |
  24. |  ACK    =  ( ((DREQ & DEN1') # DACK1) &
  25. |              ((DREQ & DEN2') # DACK2) )
  26. |         #  ( ACK & (DACK1 # DACK2) )
  27.  
  28.