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

PAL20X10 PAL DESIGN SPECIFICATION
VP7 BIRKNER/UDI 7/28/81
UART CONTROL
MMI SUNNYVALE, CALIFORNIA
CK /9600X8 RXD /WE /INIT /SETBC2 /SETBC1 /SETBC0 NC NC EC GND
/OC /READY /SAMPLE /BC3 /BC2 /BC1 /BC0 /DET2 /DET1 /DET0 /START VCC
START := /READY*START s HOLD
+ /READY*RXD sDETECT START BIT
:+: /READY*START*BC3*BC2*BC1*BCO sFILTER FALSE START
* /DET2* /DET1*DET0* /RXD sCANCEL START IF NO RXD
DET0 := START*DET0 s HOLD
+ START*DET0 : EXTEND
s+3START*9600X8 * CARRY
DET1 := START*DET1 : HOLD
+ START*DET1 s EXTEND
2+: START*9600X8*DET0 2s CARRY
DET2 := START*DET2 s HOLD
+ START*DET2 s EXTEND
:+: START*9600X8*DET0*DET1 s CARRY
BCO := /SETBC0*BCO * HOLD
+ /SETBC0* READY °SET BC TO -l1 ON READY
:+: /SETBC0*START*9600X8 *DET0*DET1*DET2 > CARRY
+ SETBC0 SET BC TO 7 FOR TESTING
BCl := /SETBC1*BC1l : HOLD
+ /SETBC1*READY sSET BC TO ~1 ON READY
:+: /SETBC1*START*9600X8*DET0*DET1*DET2 » CARRY
*BCO
+ SETBC1 sSET BC TO 7 FOR TESTING
BC2 := /SETBC2*BC2 s HOLD
+ /SETBC2* READY SET BC TO -1 ON READY
3+: /SETBC2*START*9600X8*DET0*DET1*DET2 s CARRY
*BCO*BC1
+ SETBC2 :SET BC TO 7 FOR TESTING
BC3 := BC3 * HOLD
+ READY :SET BC TO -1 ON READY
s+:START*9600X8 *DET0 *DET1*DET2 s CARRY
*BCO*BC1*BC2
SAMPLE := START*9600X8* /DET2*DET1* /DET0*/BC3 sDET=2 & BC=0..7
+ START*9600X8* /DET2*DET1* /DET0* /BC3 : EXTEND
:+: START*9600X8* /DET2*DET1* /DET0 sCANCEL BC = 7
* /BC3*BC2*BC1*BCO
READY := /INIT*/WE* READY s HOLD
+ /INIT*/WE*START*BC3* /BC2* /BC1* /BCO SET ON BC=8
s+: INIT INITIAL READY, START & BC
FUNCTION TABLE
CK 9600X8 RXD /WE INIT SETBC2 SETBCl SETBC0 /OC READY
SAMPLE BC3 BC2 BCl BCO ODET2 DETl DET0 £START
? 9 S
: 6 R A S
; 0 I E M T
; OR /N J AP A
>C X X W I SETBC O DL BC DET R
> K 8 D E T 210 C YY E 3210 210 T COMMENTS
c X X X H XXX L 8H X XXXX XXX X £INITIAL READY
c X L 8H L XXX OL #8 X HHHH XXX L CLEAR START & INITIAL BC
c Xx L LG xXxX OL L X HHHH LLL L_ INITIAL DET & CLEAR READY
Cc X H L LG XXX OL L X BHHH LLL H_ SET START
C H LLL Lot L LL L HASH LLA #_ NO RXD, DETECT FALSE START
Cc H LLL LoL LL L SaaR LAL & CLEAR START (NOISE ON RXD)
C H H LL Lb L L L HASH LLL #8 INITIALIZE DET
C H H LL Leo L L L HaaH LLA HH NOW IT IS A REAL SIGNAL
C H H L LG Lb L L L HASH LHL F_ INC DET, NO SAMPLING
C H H L BL Len Lb L L HHAH LAA HAH NO SAMPLE, START BIT OF INFO
C H H LL&L Leb L UL L HASH BLL #_ INC DET, NO SAMPLING
C H H LG Lub Lb L L HABR HLA H_ INC DET, NO SAMPLING
C H H LL Lb L L L HASH HHL H_ INC DET, NO SAMPLING
C H H LL LoL L L L HAA HHH H_ INC DET, NO SAMPLING
C H H L LG Lb Lb LB LBL LLL LLL &£ INC DET AND BIT COUNTER
C H H L LB Loe LL L LLL LLa A 1's? BIT OF ASCII CODE
C H H L LG Loe LL L LLL LAL 8 INC DET
C H H L L Lu LL #8 LLLL LAB H_ SAMPLE THE 1'ST INFO BIT
C H H L BG Loo L &b L LLL BLL #H_ INC DET
C H H L LG Loe L LBL L LLL ALA #_ INC DET
C H H L LG Leet Lb L L LLL BHO #8 INC DET
C H H LL Loe LL L Lee eH #H_ INC DET
C H H LB & Leb Lb L L LLLea LLL FA sINC DET AND BIT COUNTER
C H H L LG Loe Lb L L LLL LLa #A-~ 2'ND BIT OF ASCII CODE
C H H LL LL Lb L L LELea LAL #8 INC DET 4
C H H LL Lb oo L #H LLL LAH #8 SAMPLE 2'ND BIT OF INFO
Cc H H L LG Le LL tL Leno BLL 8 sINC DET
C H H LB LG be Lb Lt tL LELea BLA 8 INC DET
C H H L LG Leb L tL L LLLe BaL A INC DET
C H H L LG Lb. LL L LLL BAA #H_ INC DET
C H H L BG 8LH LL L LAS LLL HAH _ SET BIT COUNTER TO 7
C H H L & LLL b&b L L LAB LEA 8H 7'TH BIT OF ASCII CODE
C H H LLG LL L Lt L LABH LAL #8 INC DET
C H H LL Lb L& L LL LASH LAH #H_ NO SAMPLE 7'TH BIT ALWAYS 0
C H H L LG Len L L L LBaR ALL A INC DET
C H H L LG Lot L L LL LAS ALA #8_ INC DET
Cc H H L L LLL Lb & L LBB HHL #H_ INC DET
C H H LB L Loe LL L LAB BAH H_ INC DET
C H H L L Lbt LL L BLL LLL 8 INC DET AND BIT COUNTER
C H H H L LLL Lb #H L BLLL LLB 8 SET THE READY SIGNAL
C H H L L Lo L L L HABA LHL L_ SET START BIT & INITIAL BC
C H H L LG Lb L L L H8HS8 LLL A- REPEATE FOR NEXT CHARACTER