#TITLE    'DDSPAL00.SRC';
#ENGINEER 'Bill Sisk';
#COMPANY  'Arecibo Observatory';
#REVISION '0';
#PROJECT  'DDS Controller IPack Board';
#COMMENT  'Using 22V10';  


INPUT CLK,/IOSEL,/INTSEL,/IDSEL,RW,/RES,A1,/INT0,/INT1;
OUTPUT WRT, /RD, /ACK, OE CLOCKED_BY CLK RESET_BY RES;
OUTPUT D0 ENABLED_BY OE;
OUTPUT /INTREQ1, /INTREQ0, NC[3] ;


ACK = IOSEL + INTSEL + IDSEL;
WRT = IOSEL * /RW ;
RD = IOSEL * RW;
OE = INTSEL * A1;
D0 = 0;
INTREQ1 = INT1 * /RES;
INTREQ0 = INT0 * /RES;
NC = [0,0,0];                               
