LOCAL BUS CONTROL PLD DESCRIPTIONS
module clock; flag
"This 85C220 divides the doulbe frequency ClK2 input "by two to generate a single frequency ClK. It also "provides synchronous reset outputs from an asynch- "ronous reset input. The lowest two bits of the DRAM "refresh timer are included in this PlD.
U2 device 'E0320';
h,l,c,x = 1,0, .C., .x.;
gnd pin 10; vee pin 20; o e pin 11;
clk2 pin | 1; | "80386 | CLK2 | ||
res pin | 2; | "asynchronous re . et Input | |||
refreq |
| pin 3; | "low to high Iron.ltlon requests refresh cycle | ||
elk pin | 12; | "low during pha.e 1, high during pho.e 2 | |||
re.elh pin 13; | "high during re . et, changes during pha.e | ||||
re . etl pin 14; | "10. during reset, change. during pha.e 1 | ||||
leO pin | 15; | "bll 0 of refre.h timer | |||
tel pin | 16; | "bit 1 of refresh Ilmer | |||
Icoul | pin | 17; | "carry from bll . 0 and 1 of refres) Ilmer | ||
1I0od | pin | 18; | Ill ow to | load refresh timer | |
re.ync pin 19; | "flip flop In re . el synchronizer | ||||
rt ImeO |
|
| [ 0 , 0 I |
|
|
r II mel |
|
| [0, II |
|
|
rllme2 |
|
| [ 1 ,01 |
|
|
rllme3 |
| • | [1, II |
|
|
"elk2 divide by Iwo equation. elk : . !elk;
lire set synchronizer
equations re . yne:· (res' !elk>' (re'ync' elk); equations re.eth :- (re.yne , !elk) , (re .eth , elk); equaiions re . ell : . !re . eth;
"Iowe.t 2 bit . of refre.h timer
.tate_dlagram [tel,teOI;
state rtlmeO: If (elk) then rtlmel el .e rtlmeO;
. tote rtlmel: If (elk) then rtlme2 else rtlmel;
. t . te rtlme2: If (elk) then rtlme3 else rtlme2;
• t • t e ,r tim e 3: I f (e I k) I hen r tim e 0 e I s e r I I me 3 ;
"refresh' Ilmer e.rry and load
.tale_dlagram [leout,lloadl
. tale [0,11: "Idle
If (tel' leO' !refreq , !elk) then [1,11
el .e If (tel' teO' refreq" !elk) Ihen [0,01
e I • e [0, 1 I ;
st . te [1,11: "Increment refre.h timer got 0 [0, 1 I ;
. tale [0,01: "load refre.h timer go I 0 [0, 1 I ;
. Iate [1,01: "Illegal got 0 [1, 1 I ;