5
APPENDIX B
(FPLA code)
module isa2
title 'Ethernet controller'
"Feb 26 '98 version v1 of the 5307
"isa2 device 'ispLSI';
;"*****************************************************"
;"This abel file contains the code for a NE2000 compatible Ethernet"
;"for the 55307 Coldfire processor as well as reset and IRQ7 (abort)"
;"It was targeted to Lattice ispLSI 2032 fpga "
;"CS: B3D3 "
;"*****************************************************"
;"*****************************************************"
;"Declaration Section "
;"*****************************************************"
;" constants"
C,P,X,Z,H,L = .C.,.P.,.X.,.Z.,1,0;
;"*****************************************************"
DLYIOCHRDY0 node ISTYPE 'reg_d,buffer';
DLYIOCHRDY,ENDIT,END16,END8 node;
STARTISA node ISTYPE 'reg_d,buffer';
SBHE,IOR,IOW,ISAOE node;
DA,DLYDA node ISTYPE 'reg_d,buffer';
ABORTML,DAOE,CLK16MHZ node ISTYPE 'reg_d,buffer';
CLK4MHZ
node ISTYPE 'reg_d,buffer';
RSTMH node;
BCLK0 node ISTYPE 'reg_d,buffer';
BCLK1 node ISTYPE 'reg_d,buffer';
BCLK2 node ISTYPE 'reg_d,buffer';
ABORTOL
pin 3 ISTYPE 'reg_d, buffer';
RST_L
pin 4;
"Output - to ColdFire reset
DB_CS_L
pin 5;
"Output - Data buffer enable for
ethernet
A0IN
pin 6;
"INPUT - A0 received from CF through
buffers
IOCHRDY
pin 7;
"Input - asserted by ethernet
IOCS16L
pin 9;
"Input - asserted by ethernet
SIZ1
pin 10;
XCLK0
pin 11;
"Input - global clock
IOWL
pin 15;
"Input - write signal from ethernet
RD
pin 16;
"INPUT - R/W* from the ColdFire
CLK8MHZ
pin 17 ISTYPE 'reg_d,buffer';
BALE
pin 18;
"Output - address latch enable
A0
pin 19;
"OUTPUT - A0 sent to the ethernet
PORIN_L
pin 26;
"Input - Suppy Voltage Supervisor
CS3_L
pin 22;
"Input - From ColdFire
RSTIN_L
pin 27;
"Input - Hard Reset switch
ETHER_IRQ
pin 28;
"Input - Ethernet IRQ 3
IRQ3
pin 29;
"Output - IRQ 3 into the ColdFire
RST_H
pin 30;
"Output - to the Ethernet
ABORTIL
pin 31;
"INPUT - abort signal receive d from the
Abort swith
HIZ_L
pin 32;
"Output - to ColdFire *HIZ
IORL
pin 37;
"Input - read signal from ethernet
A16
pin 39;
TAL
pin 40;
"Input / Output - Transfer acknowledge
SBHEL
pin 41;
"Output - sent to the ethernet
Содержание SBC5307
Страница 15: ...1 8 J1 J4 J7 J8 J9 JP1 J2 Figure 4 Jumper and connector placement ...
Страница 20: ...2 3 Figure 5 Flow Diagram of dBUG Operational Mode ...
Страница 26: ...2 9 0x00012002 nop 0x00012004 lsr l 1 d0 0x00012006 cmp 4 d0 0x00012008 beq start 0x0001200A ...
Страница 79: ...9 APPENDIX C Schematics ...