You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

97 lines
3.8 KiB

  1. PAL20X10 PAL DESIGN SPECIFICATION
  2. VP7 BIRKNER/UDI 7/28/81
  3. UART CONTROL
  4. MMI SUNNYVALE, CALIFORNIA
  5. CK /9600X8 RXD /WE /INIT /SETBC2 /SETBC1 /SETBC0 NC NC EC GND
  6. /OC /READY /SAMPLE /BC3 /BC2 /BC1 /BC0 /DET2 /DET1 /DET0 /START VCC
  7. START := /READY*START s HOLD
  8. + /READY*RXD sDETECT START BIT
  9. :+: /READY*START*BC3*BC2*BC1*BCO sFILTER FALSE START
  10. * /DET2* /DET1*DET0* /RXD sCANCEL START IF NO RXD
  11. DET0 := START*DET0 s HOLD
  12. + START*DET0 : EXTEND
  13. s+3START*9600X8 * CARRY
  14. DET1 := START*DET1 : HOLD
  15. + START*DET1 s EXTEND
  16. 2+: START*9600X8*DET0 2s CARRY
  17. DET2 := START*DET2 s HOLD
  18. + START*DET2 s EXTEND
  19. :+: START*9600X8*DET0*DET1 s CARRY
  20. BCO := /SETBC0*BCO * HOLD
  21. + /SETBC0* READY °SET BC TO -l1 ON READY
  22. :+: /SETBC0*START*9600X8 *DET0*DET1*DET2 > CARRY
  23. + SETBC0 SET BC TO 7 FOR TESTING
  24. BCl := /SETBC1*BC1l : HOLD
  25. + /SETBC1*READY sSET BC TO ~1 ON READY
  26. :+: /SETBC1*START*9600X8*DET0*DET1*DET2 » CARRY
  27. *BCO
  28. + SETBC1 sSET BC TO 7 FOR TESTING
  29. BC2 := /SETBC2*BC2 s HOLD
  30. + /SETBC2* READY SET BC TO -1 ON READY
  31. 3+: /SETBC2*START*9600X8*DET0*DET1*DET2 s CARRY
  32. *BCO*BC1
  33. + SETBC2 :SET BC TO 7 FOR TESTING
  34. BC3 := BC3 * HOLD
  35. + READY :SET BC TO -1 ON READY
  36. s+:START*9600X8 *DET0 *DET1*DET2 s CARRY
  37. *BCO*BC1*BC2
  38. SAMPLE := START*9600X8* /DET2*DET1* /DET0*/BC3 sDET=2 & BC=0..7
  39. + START*9600X8* /DET2*DET1* /DET0* /BC3 : EXTEND
  40. :+: START*9600X8* /DET2*DET1* /DET0 sCANCEL BC = 7
  41. * /BC3*BC2*BC1*BCO
  42. READY := /INIT*/WE* READY s HOLD
  43. + /INIT*/WE*START*BC3* /BC2* /BC1* /BCO SET ON BC=8
  44. s+: INIT INITIAL READY, START & BC
  45. FUNCTION TABLE
  46. CK 9600X8 RXD /WE INIT SETBC2 SETBCl SETBC0 /OC READY
  47. SAMPLE BC3 BC2 BCl BCO ODET2 DETl DET0 £START
  48. ? 9 S
  49. : 6 R A S
  50. ; 0 I E M T
  51. ; OR /N J AP A
  52. >C X X W I SETBC O DL BC DET R
  53. > K 8 D E T 210 C YY E 3210 210 T COMMENTS
  54. c X X X H XXX L 8H X XXXX XXX X £INITIAL READY
  55. c X L 8H L XXX OL #8 X HHHH XXX L CLEAR START & INITIAL BC
  56. c Xx L LG xXxX OL L X HHHH LLL L_ INITIAL DET & CLEAR READY
  57. Cc X H L LG XXX OL L X BHHH LLL H_ SET START
  58. C H LLL Lot L LL L HASH LLA #_ NO RXD, DETECT FALSE START
  59. Cc H LLL LoL LL L SaaR LAL & CLEAR START (NOISE ON RXD)
  60. C H H LL Lb L L L HASH LLL #8 INITIALIZE DET
  61. C H H LL Leo L L L HaaH LLA HH NOW IT IS A REAL SIGNAL
  62. C H H L LG Lb L L L HASH LHL F_ INC DET, NO SAMPLING
  63. C H H L BL Len Lb L L HHAH LAA HAH NO SAMPLE, START BIT OF INFO
  64. C H H LL&L Leb L UL L HASH BLL #_ INC DET, NO SAMPLING
  65. C H H LG Lub Lb L L HABR HLA H_ INC DET, NO SAMPLING
  66. C H H LL Lb L L L HASH HHL H_ INC DET, NO SAMPLING
  67. C H H LL LoL L L L HAA HHH H_ INC DET, NO SAMPLING
  68. C H H L LG Lb Lb LB LBL LLL LLL &£ INC DET AND BIT COUNTER
  69. C H H L LB Loe LL L LLL LLa A 1's? BIT OF ASCII CODE
  70. C H H L LG Loe LL L LLL LAL 8 INC DET
  71. C H H L L Lu LL #8 LLLL LAB H_ SAMPLE THE 1'ST INFO BIT
  72. C H H L BG Loo L &b L LLL BLL #H_ INC DET
  73. C H H L LG Loe L LBL L LLL ALA #_ INC DET
  74. C H H L LG Leet Lb L L LLL BHO #8 INC DET
  75. C H H LL Loe LL L Lee eH #H_ INC DET
  76. C H H LB & Leb Lb L L LLLea LLL FA sINC DET AND BIT COUNTER
  77. C H H L LG Loe Lb L L LLL LLa #A-~ 2'ND BIT OF ASCII CODE
  78. C H H LL LL Lb L L LELea LAL #8 INC DET 4
  79. C H H LL Lb oo L #H LLL LAH #8 SAMPLE 2'ND BIT OF INFO
  80. Cc H H L LG Le LL tL Leno BLL 8 sINC DET
  81. C H H LB LG be Lb Lt tL LELea BLA 8 INC DET
  82. C H H L LG Leb L tL L LLLe BaL A INC DET
  83. C H H L LG Lb. LL L LLL BAA #H_ INC DET
  84. C H H L BG 8LH LL L LAS LLL HAH _ SET BIT COUNTER TO 7
  85. C H H L & LLL b&b L L LAB LEA 8H 7'TH BIT OF ASCII CODE
  86. C H H LLG LL L Lt L LABH LAL #8 INC DET
  87. C H H LL Lb L& L LL LASH LAH #H_ NO SAMPLE 7'TH BIT ALWAYS 0
  88. C H H L LG Len L L L LBaR ALL A INC DET
  89. C H H L LG Lot L L LL LAS ALA #8_ INC DET
  90. Cc H H L L LLL Lb & L LBB HHL #H_ INC DET
  91. C H H LB L Loe LL L LAB BAH H_ INC DET
  92. C H H L L Lbt LL L BLL LLL 8 INC DET AND BIT COUNTER
  93. C H H H L LLL Lb #H L BLLL LLB 8 SET THE READY SIGNAL
  94. C H H L L Lo L L L HABA LHL L_ SET START BIT & INITIAL BC
  95. C H H L LG Lb L L L H8HS8 LLL A- REPEATE FOR NEXT CHARACTER