Preliminary - Information Subject to Change - 9/24/98
EZ-USB Development Board
5 - 15
PLD Source File
The following ABEL code was used to generate the programming
file for U5.
MODULE EZmap10
“ Swapped dipswitch settings 00 and 10 on 4-3-98 to allow the
all-switch-on default
x,c,z = .X.,.C.,.Z.;
“Inputs
A12,A13,A14,A15
pin 11,12,13,16;
nRD,nPSEN,BKPT,PA3,PA2
pin 6,5,4,3,2;
mm1,mm0
pin 9,7;
“Outputs
EA,nPRD,nRD2,nRD1,nCE2,nCE1pin 21,23,24,25,26,27;
modesw = [mm1,mm0];
“ two dipswitches
equations
!nPRD =
!nRD # !nPSEN;
WHEN
(modesw == 00) THEN
“ No external memory
{
nCE1 =
1;
nCE2 =
1;
nRD1
=
1;
nRD2
=
1;
EA
=
0;
}
ELSE WHEN(modesw == 01) THEN“ Ext P&D mem at 8000 (can add mem
to 0-8K)
{