AM79C940JC/W AMD [Advanced Micro Devices], AM79C940JC/W Datasheet - Page 47
![no-image](/images/no-image-200.jpg)
AM79C940JC/W
Manufacturer Part Number
AM79C940JC/W
Description
Manufacturer
AMD [Advanced Micro Devices]
Datasheet
1.AM79C940JCW.pdf
(144 pages)
After hardware or software reset, the IDCODE instruc-
tion is always invoked. The decoding logic provides
signals to control the data flow in the DATA registers
according to the current instruction.
Each Boundary Scan Register (BSR) cell also has two
stages. A flip-flop and a latch are used in the SERIAL
SHIFT STAGE and the PARALLEL OUTPUT STAGE
respectively.
There are four possible operational modes in the BSR
cell:
1. CAPTURE
2. SHIFT
3. UPDATE
4. SYSTEM FUNCTION
Other Data Registers
SLAVE ACCESS OPERATION
Internal register accesses are based on a 2 or 3 SCLK
cycle duration, dependent on the state of the TC input
pin. TC must be externally pulled low to force the
MACE device to perform a 3-cycle access. TC is inter-
nally pulled high if left unconnected, to configure the
2-cycle access by default.
All register accesses are byte wide with the exception
of the data path to and from the internal FIFOs.
Data exchanges to/from register locations will take
place over the appropriate half of the data bus to suit
the host memory organization (as programmed by the
BSWP bit in the BIU Configuration Control register).
The BE0, BE1 and EOF signals are provided to allow
control of the data flow to and from the FIFOs. Byte
read operations from the Receive FIFO cause data to
be duplicated on both the upper and lower bytes of the
data bus. Byte write operations to the Transmit FIFO
must use the BE0 and BE1 inputs to define the active
data byte to the MACE device.
Read Access
Details of the read access timing are located in the AC
Waveforms section, Host System Interface, figures:
Two-Cycle Receive FIFO/Register Read Timing and
Three-Cycle Receive FIFO/Register Read Timing.
BYPASS REG (1 bit)
Device Identification Register (32 bits)
Bits 31-28:Version (4 bits)
Bits 27-12:Part number (16 bits) is 9400H
Bits 11-1:Manufacturer ID (11 bits).
Bit 0:Always a logic 1
The manufacturer ID code for AMD is
00000000001 in accordance with
JEDEC Publication 106-A.
Am79C940
TC can be dynamically changed on a cycle by cycle
basis to program the slave cycle execution for two (TC
= HIGH) or three (TC = LOW) SCLK cycles. TC must
be stable by the falling edge of SCLK (EDSEL = High)
in S0 at the start of a cycle, and should only be
changed in S0 in a multiple cycle burst.
A read cycle is initiated when either CS or FDS is sam-
pled low on the falling edge of SCLK at S0. FDS and
CS must be asserted exclusively. If they are active
simultaneously when sampled, the MACE device will
not execute any read or write cycle.
If CS is low, a Register Address read will take place.
The state of the ADD4–0 will be used to commence
decoding of the appropriate internal register/FIFO.
If FDS is low, a FIFO Direct read will take place from
the RCVFIFO. The state of the ADD4-0 bus is irrele-
vant for the FIFO Direct mode.
With either the CS or FDS input active, the state of the
ADD0-4 (for Register Address reads), R/W (high to
indicate a read cycle), BE0 and BE1 will also be latched
on the falling (EDSEL = HIGH) edge of SCLK at S0.
From the falling edge of SCLK in S1 (EDSEL = HIGH),
the MACE device will drive data on DBUS15-0 and
activate the DTV output (providing the read cycle com-
pleted successfully). If the cycle read the last byte/word
of data for a specific frame from the RCVFIFO, the
MACE device will also assert the EOF signal. DBUS15-
0, DTV and EOF will be guaranteed valid and can be
sampled on the falling (EDSEL = HIGH) edge of SCLK
at S2.
If the Register Address mode is being used to access
the RCVFIFO, once EOF is asserted during the last
byte/word read for the frame, the Receive Frame Sta-
tus can be read in one of two ways. The Register Ad-
dress mode can be continued, by placing the
appropriate address (00110b) on the address bus and
executing four read cycles (CS active) on the Receive
Frame Status location. In this case, additional Register
Address read requests from the RCVFIFO will be ig-
nored, and no DTV returned, until all four bytes of the
Receive Frame Status register have been read. Alter-
natively, a FIFO Direct read can be performed, which
will effectively route the Receive Frame Status through
the RCVFIFO location. This mechanism is explained in
more detail below.
If the FIFO Direct mode is used, the Receive Frame
Status can be read directly from the RCVFIFO by con-
tinuing to execute read cycles (by asserting FDS low
and R/W high) after EOF is asserted indicating the last
byte/word read for the frame. Each of the four bytes of
Receive Frame Status will appear on both halves of the
data bus, as if the actual Receive Frame Status regis-
ter were being accessed. Alternatively, the status can
be read as normal using the Register Address mode by
47