• Counter wrap-ar ound cont r ol
—Internal mask register co ntrols counter wrap-ar ound
—Counter-Interrupt flags to indicate wrap-around
• Counter readback on address lines
• Mask register readback on address lines
• Interrupt flags for message passin g
• Master reset for all ports
• Width and depth expansion capabi litie s
• Dual Chip Enabl es on all ports for easy depth expans ion
• Separate upper-byte and lower-byte controls on all
ports
• 272-BGA package (27 mm x 27 mm 1.27 mm ball pitch)
• Commercial and Industrial temperature ranges
• IEEE 1149.1 JTAG boundary scan
• BIST (Built In Self Test) controller
MRST
TMS
TCK
TDI
CLKBIST
Reset
Logic
JTAG
Controller
BIST
TDO
I/O
0P1
- I/O
17P1
CLK
P1
A
0P1–A15P1
MKLD
CNTLD
CNTINC
CNTRD
MKRD
CNTRST
CNTINT
P1
INT
18
16
P1
P1
P1
P1
P1
P1
P1
Mask Reg/
Port 1
I/O
Port 1
Counter/
Address
Decode
Port 2 Logic Blocks
Notes:
1. Port 1 Control Logic Block is detailed on page 2.
2. Port 2, Port 3, and Port 4 Logic Blocks are similar to Port 1 Logic Blocks.
For the most recent information, visi t the Cypress web site at www.cypress.com
Cypress Semiconductor Corporation
•3901 North First Street•San Jose•CA 95134•408-943-2600
Port 1
RAM
Array
Port 2Port 3
[2]
Port 4 Logic Blocks
Port 4
Port 3 Logic Blocks
[2]
[2]
November 18, 199 9
PRELIMINAR Y
Port 1 Operation-Contr ol Logic Block Dia gr am:
(Address Readback is independent of CEs)
R/W
CE
CE
LB
OE
UB
0P1
1P1
P1
P1
P1
P1
W
R
CY7C0430V
MRST
A
0P1–A15P1
CNTRD
MKRD
MKLD
CNTINC
CNTLD
CNTRST
CLK
MRST
CNTINT
P1
P1
P1
P1
P1
P1
P1
P1
16
Priority
Decision
Logic
I/O
I/O
9P1
0P1
–I/O
–I/O
17P1
8P1
9
9
Addr.
Read
Back
Port 1
Readback
Register
Port 1
Mask Register
Port 1
Counter/
Address
Register
LB
UB
R/W
CE
0P1
CE
1P1
OE
P1
CLK
MRST
P1
P1
P1
P1
Port-1
I/O
Control
Port 1
Address
Decode
Port 1
Interrupt
Logic
Port
Port
INT
1
Po
r
t
4
RAM
Array
3
2
P1
ort
P
2
PRELIMINAR Y
CY7C0430V
Functional Description
The CY7C0430V is a 1-Mb synchronous true four-port Static
RAM. This is a high-speed, low-power 3.3V CMOS dual-port
static RAM. Four ports are provided, permitting independent,
simultaneous ac cess f or reads from any location in memory. A
particular port can write to a certain location while other p orts
are reading that location simultaneously. The result of writing
to the same location by more than one port at the same time
is undefined. Registers on control, address and data lines allow for minimal set-up and hold time.
Data is registered for decreased cycle time. Clock to data valid
= 4.7 ns. Each port contains a burst counter on the input
t
CD2
address register. After externally loading the counter with the
initial address the counter will self-increment the address internally (more details to foll o w ). Th e inte rnal write pulse width
is independent of the duration of the R/W
internal write pulse is self-tim ed to all o w the sho rtest possible
cycle times.
A HIGH on CE
down the internal circuitry to reduce the static power consumption. One cycle is req uired w ith c hip en ab les asserted to reac tivate the outputs.
Counter enable inpu ts are provided to stall the operat ion of the
address input and utiliz e the internal addres s generated b y the
or LOW on C E1 for one clo ck cycle wi ll power
0
input signal. The
inter nal counter for fast interleaved mem ory application s. A
port's burst counter is loaded with an external address when
the port's Counter Load pin (CNTLD
the port's Counter Increment pin (CNTINC) is asserted, the
address counter will increment on each subsequent LOW-toHIGH transition of that port's clock signal. This will read/write
one word from/into each successive address location until
CNTINC
memory array and will loop back to the start. Counter Reset
(CNTRST
register is used to control the counter wrap. The counter and
mask register operations are described in more details in the
following sections.
The counter or mask register values can be read back on the
bidirectional address lines by activating MKRD
spectively.
The new features added to th e QuadPort™
standard synchronous dual-ports include: readback of
burst-counter internal address value on address lines,
counter-mask registers to control the counter wrap-around,
readback of mask register value on address lines, interrupt
flags for messag e passing, BIST, JT A G for boundary scan, and
asynchronous Maste r Reset.
is deasserted. The counter can address the entire
) is used to reset the burst counter. A counter-mask
Max Access Time (ns) (Clock to Data)4.75.0
Max Operating Current I
Max Standby Current for I
Max Standby Current for I
(mA)750600
CC
(mA) (All ports TTL Level)200150
SB1
(mA) (All ports CMOS Level)1.01.0
SB3
CY7C0430V
-100
Pin Definitions
Port 1Port 2Port 3Port 4Description
A
0P1–A15P1
I/O
–I/O
0P1
CLK
P1
LB
P1
UB
P1
CE
,CE
0P1
OE
P1
R/W
P1
MRSTMaster Reset Input. Thi s is one signal for All P orts. MRST
CNTRST
MKLD
CNTLD
CNTINC
P1
P1
P1
P1
17P1
1P1
A
0P2–A15P2
I/O
–I/O
0P2
CLK
P2
LB
P2
UB
P2
CE
,CE
0P2
OE
P2
R/W
P2
CNTRST
MKLD
P2
CNTLD
CNTINC
P2
P2
P2
17P2
1P2
A
0P3–A15P3
I/O
–I/O
0P3
CLK
P3
LB
P3
UB
P3
CE
,CE
0P3
OE
P3
R/W
P3
CNTRST
MKLD
P3
CNTLD
CNTINC
P3
P3
P3
17P3
1P3
A
0P4–A15P4
I/O
–I/O
0P4
CLK
P4
LB
P4
UB
P4
CE
,CE
0P4
OE
P4
R/W
P4
CNTRST
MKLD
P4
CNTLD
CNTINC
P4
P4
P4
Address Input/Output.
Data Bus Input/Output.
17P4
Clock Input. This input can be free running or strobed.
Maximum cloc k input ra te is f
MAX
.
Lower Byte Select Input. Asserting this signal LOW enables read and write operations to the lower byte. For
read operations bo th the LB
and OE signals mu st be asserted to drive output data on the lower byte of the d ata
pins.
Upper Byte Select Input. Same funct ion as LB, b ut to the
upper byte.
Chip Enable Input. T o select any port, both CE0 AND CE1
1P4
must be asserted to their active states (CE0 ≤ VIL and
≥ VIH).
CE
1
Output Enable Input. This sig nal mus t be asserted LOW
to enable the I/O data lines during read operations. OE
is asynchronous input.
Read/Write Enable Input. This sig nal is asserted LO W to
write to the dual port memory array . For read oper ations,
assert this pin HIGH.
is an asynchronous input. Asserting MRST
forms all of the reset functi ons as described in the te xt. A
operation is required at power-up.
MRST
Counter Reset Input. Asserting this signal LOW resets
the burst address counter of its respective port to zero.
CNTRST
is second to MRST in priority with respect to
counter and mask register operations.
Mask Register Load input. Asserting this signal LOW
loads the mask register with the external address available on the address lines. MKLD
priority over CNTLD
operation.
operation has higher
Counter Load Inpu t. Asserting this si gnal LO W loads th e
burst counter with the external address present on the
address pins.
Counter Increment Input. Asserting this signal LOW increments the b urst address counter of its respective port
on each rising edge of CLK.
LOW per-
5
PRELIMINAR Y
CY7C0430V
Pin Definitions
(continued)
Port 1Port 2Port 3Port 4Description
CNTRD
P1
CNTRD
P2
CNTRD
P3
CNTRD
P4
Counter Readbac k Input. When asserted LOW, the internal address val ue of the counter wil l be read back on the
address lines. During CNTRD
and CNTINC
must be HIGH. Count er readback operati on
operation, both CNTLD
has higher priority over mask register readback operation. Counter readback operation is ind epe nde nt o f port
chip enables . If addres s readb ac k op erati on oc curs w ith
= LOW , CE1 = HIGH), the data
0
from the
CD2
MKRD
P1
MKRD
P2
MKRD
P3
MKRD
P4
chip enables activ e (CE
lines (I/Os) will be three-stat ed. The readbac k timing will
be valid after one no-operation cycle plus t
rising edge of the next cycle.
Mask Register Readback Input. When asserted LOW, the
value of the mask register will be readback on address
lines. During mask register readback operation, all
counter and MKLD
inputs must be HIGH (see Counter
and Mask Register Oper ations truth table). Mask re gister
readback op erati on is indepe ndent o f po rt chip enab les .
If address readback operation occurs with chip enables
= LOW, CE1 = HIGH), the data lines (I/Os)
0
from the rising edge of the
CD2
CNTINT
P1
CNTINT
P2
CNTINT
P3
CNTINT
P4
active (CE
will be three-stated. The read bac k will be v al id after o ne
no-operation cycle plus t
next cycle.
Counter Interrupt flag output. Flag is asserted LOW for
one clock cycle when the counter wraps around to location zero.
INT
P1
INT
P2
INT
P3
INT
P4
Interrupt flag output. Interrupt permits communications
between all f o ur ports. The upp er f our mem ory locations
can be used for m essage passing. Example of operation:
is asserted LOW when another port writes to the
INT
P4
mailbox location of Port 4. Flag is cleared when Port 4
reads the contents of its mailbox. The same operation is
applicable to Ports 1, 2, and 3.
TMSJTAG Test Mode Select Input. It contr ols th e a dvance of
JTAG TAP state machine. State machine transitions occur on the rising edge of TCK.
TCKJT AG Test Clock Input. This can be CLK of any port or an
external clock connected to the JTAG TAP.
TDIJTAG Test Data Input. This is the only data input. TDI
inputs will shift data serially in to the selected register.
TDOJT AG Test Data Output. This is the only data output. TDO
transitions occur on the falling edge of TCK. TDO normally three-stated except when captured data is shifted out
of the JTAG TAP.
CLKBISTBIST Clock Input.
GNDThermal ground for heat dissipation.
V
V
V
V
V
V
SS
DD
SS1
DD1
SS2
DD2
Ground Input.
Power Input.
Address lines ground Input.
Address lines power Input.
Data lines ground Input.
Data lines power Input.
6
PRELIMINAR Y
CY7C0430V
Maximum Ratings
(Above which the useful life may be impaired. For user guidelines, not tested.)
Power Applied............................................–55
Supply Voltage to Ground Potential..............–0.5V to + 4.6V
DC Voltage Applied to
Outputs in High Z State............................–0.5V to V
Electrical Characteristics
Over the Operating Range
ParameterDescription
V
V
V
V
I
OZ
I
CC
I
SB1
I
SB2
I
SB3
I
SB4
OH
OL
IH
IL
Output HIGH Voltage
(V
CC
= Min., I
= –4.0 mA)
OH
Output LOW Voltage
(V
CC
= Min., I
= +4.0 mA)
OH
Input HIGH Voltage2.02.0V
Input LOW Voltage0.80.8V
Output Leakage Current–1010–1010
Operating Current (V
= 0 mA) Outputs Disabled
I
OUT
= Max.,
CC
Standby Current (4 Ports toggling
at TTL Levels ,0 active) CE
, f = f
V
IH
MAX
Standby Current (4 Ports toggling
at TTL Levels , 1 active)
| CE3 | CE
<
VIH, f = f
4
CE1 | CE2
MAX
Standby Current (4 Ports CMOS
Level, 0 active) CE
1-4
≥
VIH, f = 0
Standby Current (3 Ports CMOS
Level, 1 Port TTL active) CE
| CE3 | CE
CE
2
<
VIH, f = f
4
DC Input Voltage .....................................–0.5V to V
CC
Output Current into Outputs (LO W).............................20 mA
Static Discharge Voltage ...........................................>2001V
Latch-Up Current.....................................................>200 mA
Operating Range
Range
Commercial0°C to +70°C 3.3V ± 150 mV
Industrial–40
CY7C0430V
-133-100
Min.TypMaxMin.TypMax
2.42.4V
0.40.4V
Ambient
TemperatureV
C to +85°C 3.3V ± 150 mV
°
DD
+0.5V
Unit
µ
A
µ
A
JTAG TAP Electrical Characteristics
Over the Operati ng Rang e
ParameterDescriptionTest ConditionsMin.Max.Unit
V
V
V
V
I
OH1
OL1
IH
IL
X
Output HIGH VoltageI
= −4.0 mA2.4V
OH
Output LOW VoltageIOL = 4.0 mA0.4V
Input HIGH Voltage2.0V
Input LOW Voltage0.8V
Input Leakage Current GND ≤ VI ≤ V
DD
–100100
Capacitance
ParameterDescriptionTest ConditionsMax.Unit
C
IN
C
OUT
Input CapacitanceTA = 25°C, f = 1 MHz,
= 3.3V
V
Output Capacitance8pF
CC
8pF
7
µ
A
AC Test Load
Z0 = 50
OUTPUT
PRELIMINAR Y
Ω
[4]
C
R = 50
Ω
OUTPUT
Z0 = 50
5 pF
Ω
R = 50
Ω
CY7C0430V
(a) Normal Load
TDO
Z
0
(c) TAP Load
Note:
4. Test Conditions: C = 10 pF.
=50
VTH=1.5V
VTH=1.5V
(b) Three-State Delay
1.5V
Ω
50
Ω
GND
C= 10 pF
3.0V
GND
10%
t
R
90%
90%
10%
t
F
ALL INPUT PULSES
8
PRELIMINAR Y
CY7C0430V
Switching Characteristics
Over the Industrial Operating Range
ParameterDescription
f
MAX2
t
CYC2
t
CH2
t
CL2
t
R
t
F
t
SA
t
HA
t
SC
t
HC
t
SW
t
HW
t
SD
t
HD
t
SB
t
HB
t
SCLD
t
HCLD
t
SCINC
t
HCINC
t
SCRST
t
HCRST
t
SCRD
t
HCRD
t
SMLD
t
HMLD
t
SMRD
t
HMRD
t
OE
t
OLZ
t
OHZ
t
CD2
t
CA2
t
CM2
t
DC
t
CKHZ
t
CKLZ
t
SINT
t
RINT
t
SCINT
t
RCINT
[5]
[5]
[6]
[6]
Maximum Frequency133100MHz
Clock Cycle Time 7.510ns
Clock HIGH Time 34ns
Clock LO W Tim e 34ns
Clock Rise Time23ns
Clock Fall Time23ns
Address Set-up Time2.53ns
Address Hold Time0.50.5ns
Chip Enable Set-up Time2.53ns
Chip Enable Hold Time0.50.5ns
R/W Set-up Time2.53ns
R/W Hold Time0.50.5ns
Input Data Set-up Time2.53ns
Input Data Hold Time0.50.5ns
Byte Set-up Time2.53ns
Byte Hold Time0.50.5ns
CNTLD Set-up Time2.53ns
CNTLD Hold Time0.50.5ns
CNTINC Set-up Time2.53ns
CNTINC Hold Time0.50.5ns
CNTRST Set-up Time2.53ns
CNTRST Hold Time0.50.5ns
CNTRD Set-up Time2.53ns
CNTRD Hold Time0.50.5ns
MKLD Set-up Time2.53ns
MKLD Hold Time0.50.5ns
MKRD Set-up Time2.53ns
MKRD Hold Time0.50.5ns
Output Enable to Data Valid6.58ns
OE to LOW Z11ns
OE to HIGH Z1617ns
Clock to Data Valid 4.75ns
Clock to Counter Address Readback Valid 4.75ns
Clock to Mask Register readback Valid 4.75ns
Data Output Hold After Clock HIGH11ns
Clock HIGH to Output High Z14.816.8ns
Clock HIGH to Output LOW Z 11ns
Clock to INT Set Time16.518ns
Clock to INT Reset Time16.518ns
Clock to CNTINT Set Time16.518ns
Clock to CNTINT Reset Time16.518ns
CY7C0430V
–133–100
Min.Max.Min.Max.
Unit
9
PRELIMINAR Y
CY7C0430V
Switching Characteristics
Over the Industrial Operating Range (contin ue d)
ParameterDescription
Master Reset Timing
t
RS
t
RSS
t
RSR
t
RSF
t
RScntint
Master Reset Pulse Width7.510ns
Master Reset Set-up Time6.08.5ns
Master Reset Recovery Time7.510ns
Master Reset to Interrupt Flag Reset Time6.58ns
Master Reset to Counter Interrupt Flag Reset Time6.58
Port to Port Delays
t
CCS
Notes:
5. This parameter is guaranteed by design, but it is not production tested.
6. Valid for both address and data outputs.
Clock to Clock Set-up Time6.59ns
CY7C0430V
–133–100
Min.Max.Min.Max.
Unit
10
PRELIMINAR Y
JTAG Timing and Switching W aveforms
ParameterDescription
f
JTAG
t
TCYC
t
TH
t
TL
t
TMSS
t
TMSH
t
TDIS
t
TDIH
t
TDOV
t
TDOX
Maximum JTAG TAP Controller Frequency1010MHz
TCK Clock Cycle Time100100ns
TCK Clock High Time4040ns
TCK Clock Low Time4040ns
TMS Setup to TCK Clock Rise1010ns
TMS Hold After TCK Clock Rise1010ns
TDI Setup to TCK Clock Rise1010ns
TDI Hold after TCK Clock Rise1010ns
TCK Clock Low to TDO Valid2020ns
TCK Clock Low to TDO Invalid00ns
CY7C0430V
CY7C0430V
–133–100
Min.Max.Min.Max.
t
t
TH
TL
Unit
Test Clock
TCK
Test Mode Select
TMS
Test Data-In
TDI
Test Data-Out
TDO
t
TMSS
t
TDIS
t
t
t
TDOX
TMSH
TDIH
t
TDOV
t
TCYC
11
Switching Waveforms
Master Reset
t
MRST
ALL
ADDRESS/
DATA
LINES
ALL
OTHER
INPUTS
TMS
CNTINT
INT
TDO
t
t
RSS
RSF
RS
t
INACTIVE
PRELIMINAR Y
RSR
ACTIVE
CY7C0430V
Read Cycle
ADDRESS
DATA
[7, 8, 9, 10, 11]
CLK
CE
LB
UB
R/W
t
t
OUT
OE
t
t
SW
SA
SB
SC
t
CYC2
t
CH2
t
HC
t
HB
t
HW
t
HA
A
n
1 Latency
t
CKLZ
t
CL2
t
SC
A
n+1
t
CD2
A
n+2
t
DC
Q
n
Q
n+1
t
OHZ
t
HC
A
n+3
Q
n+2
t
OLZ
t
OE
Notes:
is asynchronously controlled; all other inputs (excluding MRST) are synchronous to the rising clock edge.
7. OE
8. CNTLD
9. The output is disabled (high-impedance state) by CE
10. Addresses do not have to be accessed sequentially. Note 8 indicates that address is constantly loaded on the rising edge of the CLK. Numbers are for reference
is internal signal. CE = VIL if CE0 = VIL and CE1 = VIH.
=VIH following the next rising edge of the clock.
12
PRELIMINAR Y
CY7C0430V
Switching Waveforms
t
SA
t
SC
t
SA
t
SC
[12, 13]
t
A
0
A
0
Bank Select Read
CLK
ADDRESS
DATA
ADDRESS
DATA
(B1)
CE
(B1)
OUT(B1)
(B2)
CE
(B2)
OUT(B2)
(continued)
t
CYC2
CH2
t
HA
t
HC
t
HA
t
HC
t
CL2
A
1
t
CD2
A
1
t
SC
A
2
t
t
t
SC
Q
0
t
A
2
HC
DC
CD2
t
HC
A
3
t
CKHZ
Q
1
t
DC
A
3
t
CD2
t
CKLZ
A
4
t
CD2
t
CKLZ
A
4
t
CKHZ
Q
2
A
5
t
CKHZ
Q
3
A
5
t
CD2
Q
4
t
CKLZ
t
CYC2
[14, 15, 16, 17]
t
CL2
Read-to-Write-to-Read (OE = VIL)
t
CH2
CLK
CE
t
SC
t
HC
t
SW
t
HW
R/W
t
HW
A
n
t
HA
A
n+1
t
CD2
A
n+2
t
CKHZ
Q
n
A
tSDt
D
n+2
n+2
HD
A
n+3
t
CKLZ
A
n+4
t
CD2
Q
n+3
ADDRESS
DATA
DATA
OUT
t
SW
t
SA
IN
NO OPERATIONWRITEREADREAD
Notes:
12. In this depth expansion example, B1 represents Bank #1 and B2 is Bank #2; Each Bank consists of one Cypress Quadport device from this data sheet.
ADDRESS
14. Output state (HIGH, LOW, or High-Impedance) is determined by the previous cycle control signals.
15. LB
= UB = CNTLD = VIL; MRST= CNTRST= MKLD =VIH.
16. Addresses do not have to be accessed sequentially since CNTLD= VIL constantly loads the address on the rising edge of the CLK; numbers are for reference only.
17. During “No operation,” data in memory at the selected address may be corrupted and should be rewritten to ensure data integrity.
= ADDRESS
(B1)
(B2)
.
13
PRELIMINAR Y
CY7C0430V
Switching Waveforms
Read-to-Write-to-Read (OE
t
CH2
CLK
CE
t
SC
R/W
t
SW
A
ADDRESS
DATA
DATA
OUT
t
SA
IN
n
(continued)
Controlled)
t
CYC2
t
CL2
t
HC
t
HW
A
t
HA
[14, 15, 16, 17]
n+1
t
CD2
Q
t
OHZ
t
t
HW
SW
A
n+2
tSDt
HD
D
n+2
n
A
n+3
D
n+3
A
n+4
t
CKLZ
A
n+5
t
CD2
Q
n+4
OE
READREADWRITE
Read with Address Counter Advance
t
CYC2
t
CH2
t
CL2
[18, 19]
CLK
ADDRESS
t
SA
t
SCLD
A
t
HA
n
t
HCLD
CNTLD
t
SCINC
CNTINC
t
CD2
DATA
OUT
Q
x–1
EXTERNAL
READ
Q
x
t
DC
READ WITH COUNTER
Q
n
ADDRESS
Notes:
18. CE
19. The “Internal Address” is equal to the “Ext ernal Address” when CNTLD
30. This timing is valid when one port is writing, and one or more of the three other ports is reading the same location at the same time. If t
data will be read out.
31. If t
< minimum specified value, then Port 2 will read the most recent data (written by Port 1) only (2*t
CCS
minimum specified value, then Port 2 will read the most recent data (written by Port 1) (t
>
CYC2
+ t
Q
n
+ t
CYC2
) after the rising edge of Port 2's clock.
CD2
) after the ris ing ed ge o f P o rt 2's cl ock . If t
Counter/Address Register Reset and Mask
Register Set (resets entire chip as per reset
state table)
HLXXXXXResetCounter/Address Register Reset
HHLXXXXLoadLoad of Address Lines into Mask Register
HHHLXXXLoadLoad of Address Lines into Counter/Address
Register
HHHHLXXIncre-
Counter Increment
ment
HHHHHLXRead-
Readback Counter on Address Lines
back
HHHHHHLRead-
Readback Mask Register on Address Lines
back
HHHHHHHHoldCounter Hold
Notes:
40. “X” = “don’t care,” “H” = V
is an asynchronous input signal.
41. OE
42. When CE changes state, deselection and read happen after one cycle of latency.
= OE = VIL; CE1 = R/W = VIH.
43. CE
0
44. Counter operation and mask register operation is independent of Chip Enables.
, “L” = VIL.
IH
21
PRELIMINAR Y
CY7C0430V
Master Reset
for P ort 1, FFFE is the mai lbo x f or Port 2, FFFD is the mailbox
for Port 3, and FFFC is the mailbox for Port 4. Ta ble 3 sh ows
The QuadPort undergoes a complete reset by taking its Master Reset (MRST
) input LOW. The Master Reset input can
switch asynchronousl y to the cloc ks. A Mast er Reset initiali zes
the internal burst counters to zero, and the counter mask registers to all ones (co mpletely unmask ed). A Mas ter Rese t also
forces the Mailbox Interrupt (INT
rupt (CNTINT
takes all registered control signals to a deselected read
[45]
state
) flags HIGH, resets the BIST controller, and
. A Master Reset must be performed on the QuadPort
) flags and the Counter Inter-
after power-up.
Interrupts
The upper four memory locations may be used for message
passing and permit communications between ports. Ta b l e 3
shows the interrupt operation for all ports. For the 1-Meg
QuadPort, the highest memory location FFFF is the mailbox
that in order to set Por t 1 INT
to address FFFF will as se rt INT
tion by Por t 1 will reset INT
the other port’s mailb ox, the Interrupt flag (INT
the mailbo x belongs to is as serted LOW. The Interrupt is reset
when the own er (port) of the mai lbo x reads the cont ents of t he
mailbox. The interrupt flag is set in a flow-through mode (i.e.,
it follows the clock edge of the writing port). Also, the flag is
reset in a flow-through mode (i.e., it follows the clock edge of
the reading port).
Each port can read the other port’s mailbox without resetting
the interrupt. If an applica tion does not req uire message pas sing, INT pins should be treated as no-connect and should be
left floating.
at the same time INT
When two ports or more write to the same mailbo x
will be as serted but t he c onte nts of the
mailbox are not guaranteed to be valid.
flag, a write by any other port
P1
LOW. A read of FFFF loca-
P1
HIGH. When o n e port wr it es t o
P1
) of the port that
Table 3. Interrupt Operation Example
Port 1 Port 2 Port 3 Port 4
FunctionA
Set Port 1 INT
P1
Reset Port 1 INT
0P1–15P1
FlagXLFFFFXFFFFXFFFFX
FlagFFFFHXXXXXX
P1
INT
P1
A
0P2–15P2
INT
P2
A
0P3–15P3
INT
P3
A
0P4–15P4
Set Port 2 INTP2 FlagFFFEXXLFFFEXFFFEX
Reset Port 2 IN TP2 FlagXXFFFEHXXXX
INT
P4
Set Port 3 INT
Reset Port 3 INT
FlagFFFDXFFFDXXLFFFDX
P3
FlagXXXXFFFDHXX
P3
Set Port 4 INTP4 FlagFFFCXFFFCXFFFCXXL
Reset Port 4 IN TP4 FlagXXXXXXFFFCH
Note:
45. During Master Reset the control signals will be set to a deselected read state: CE
CNTINCI
= VIH; CE1I = V
The “I” suffix on all these signals denotes that these are the internal registered equivalent of the associated pin signals.
Counter enab le inputs are prov ided to stall the oper ation of the
address input and utilize the in ternal address generat ed by the
internal counter for the fast interleaved memory applications.
A por t’s burst counter is loaded with the port’s Counter Load
pin (CNTLD
asserted, the address counter will incremen t on eac h LOW to
HIGH transition of that port’s clock signal. This will rea d/wr ite
one word from/into each successive address location until
CNTINC
the counter can addre ss the entire m emory arra y and will lo op
back to start. Counter Reset (CNTRST
Burst Cou nte r ( the M ask Registe r val ue i s unaf fect ed ). W he n
using the counter in readba ck mode, the internal addres s value of the counter will be read back on the address lines when
Counter Readbac k Sign al (C NTRD
). When the port’s Coun ter Increment (C NTINC) is
is deasserted. Depending o n the mask register state ,
) is used to reset the
) is asserted. Figure 1 pro-
Read back
Register
Mask
Register
Bidirectional
Address Lines
CNTRD
MKRD
MKLD
= 1
vides a block diagram of the readback operation. Table 2 lists
control signals req uired for cou nter operations . The signals are
listed based on their priority. For example, master reset takes
precedence over counter reset, and counter load has lower
priority than mask regi ste r lo ad (described below ). All c oun ter
operations are independent of Chip Enables (CE
When the address readback operation is performed the data
I/Os are three-stated (if CEs are active) and one-clock cycle
(no-operation cycle) latency is experienced. The address will
be read at time t
the no-operation cycle. The read back address can be either
of the burst co unter or the mask r egist er base d on t he levels
of Counter R ead signal (CNT RD
signal (MKRD). Both signals are synchronized to the port's
clock as shown i n Table 2. Counter read has a higher priority
than mask read.
Addr.
Read
Back
from the rising edge of th e clo c k following
CA2
) and Mask Register Read
Memory
Array
and CE1).
0
CNTINC
CNTLD
CNTRST
CLK
Counter/
Address
= 1
= 1
= 1
Figure 1. Counter and Mask Register Read Back on Address Lines
46. The “X” in this diagram represents the counter upper-bits.
2152
2152
2152
2152
0’s
14
11
1010101
6
5
2
2
242
2
3
2
Blocked AddressCounter Address
X’s
14
X’s
14
X’s
14
00
1X0X0X0
6
5
2
2
242
11
6
5
2
2
242
00
6
5
2
2
242
2
3
2
1X1X1X1
2
3
2
0X0X0X0
2
3
2
2
2
2
2
1
1
1
1
[46]
0
2
Mask
Register
bit-0
0
2
Address
Counter
bit-0
0
2
0
2
The burst co unte r has a mask register that controls when a nd
where the counter wra ps. An interrupt flag (CNTINT
) is asserted for one clock cycle when the unmasked portion of the
counter address wr aps around from all ones (CNTIN C
must be
asserted) to all zeros. The example in Figure 2 shows the
counter mask register loaded with a mask value of 003F unmasking the first 6 bits with bit “0” as the LSB and bit “15” as
the MSB. The m aximum va lue the mask regist er can be loaded
with is FFFF. Setting the mask regist er to this value allows the
counter to access the entire memory space. The address
counter is then loaded with an initial value of XXX8. The
“blocked” addresses (in this case, the 6th address through the
15th address) are load ed with an address b ut do not increment
once loaded. The c oun ter add res s wi ll sta rt at address XXX8.
With CNTINC
asser ted LOW, th e counter will increme nt its
internal address v alu e till it rea ches the ma sk re gister v alue of
3F and wraps around the memory block to location XXX0.
Therefore, the counter uses the mask-register to define
wrap-around point. The mask register of every port is loaded
when MKLD
(mask register load) for that port is LOW. When
MKRD is LOW, the value of the mask register can be rea d out
on address lines in a mann er si mi lar to counter read back operation (see Table 2 for required conditions).
When the b urs t c ou nter is l oa ded wit h a n add res s hi ghe r th an
the mask register value, the higher addresses will form the
masked portion of the counter addres s and are called b loc ked
addresses. The blocked addresses will not be changed or affected b y the cou nter increment o perat ion. The only ex ception
is mask register bit 0. It can be masked to allow the address
counter to increme nt by two . If the mask register bit 0 is l oaded
with a logic value of “0,” then address counter bit 0 is masked
and can not be changed during counter increment operation.
If the loaded value for address counter bit 0 i s “0,” the counter
will increment by two and the address values are even. If the
loaded value for address counter bit 0 is “1,” the counter will
increment by two and the address values are odd. This operations allows the user to achieve a 36-bit interface using any
two ports, where the counter of one port counts even addresses and the counter of the other port counts odd addresses.
This even-odd address scheme stores one half of the 36-bit
word in e ven memo ry locations, and the oth er half in odd me mory locations. CNTINT
will be asserted when the unmasked
portion of the counter wraps to all zeros. Loading mask register bit 0 with “1” allows the counter to increment the address
value sequentially.
Ta b l e 2 groups th e operations of the mask re gister with the
operations of the addr ess counte r . Addres s counter and mask
register signals are all synchronized to the port's clock CLK.
Master reset (MRST
) is the only asynch ronous signa l listed on
Ta bl e 2 . Signals are listed based on their priority going from
left column to right column with MRST
LOW on MRST
will reset both counter regi ster to all zeros and
being the highest. A
mask register to all ones. On the other hand, a LOW on
CNTRST
will only clear the address counter register to zeros
and the mask register will remain intact.
There are four operations for the counter and mask register:
1. Load operation: When CNTLD
or MKLD is LOW, the address counter or the mask register is loaded with the address val ue presented at the address lines. T his value r anges from 0 to FFFF (64 K). The mask reg ister loa d opera tion
has a higher priority over the address counter load operation.
2. Increment: Once the address c ou nte r i s loa ded w i th an external address, th e counter can internally increm ent the address value by asserting CNTINC
LOW. The counter can
24
PRELIMINAR Y
CY7C0430V
address the entire memory array (depend on the value of
the mask register) and loop back to location 0. The increment operation is second in priority to load operation.
3. Readback: the in ternal v alue of either the burst co unte r or
the mask register can be read out on the address lines when
CNTRD
priority over ma sk regi ster read bac k. A no -oper ation d ela y
cycle is experienced when readback operation is performed. The address will be valid after t
readback) or t
port's clock rising edge. Address readback operation is independent of the port's chip ena b l es (CE
dress readback occurs while the port is enabled (chip enables active), the data lines (I/Os) will be three-stated.
4. Hold operation: In order to hold the value of the address
counter at certain address, all signals in Table 2 have to be
HIGH. This operation has the least priority. This operation
is useful in man y applications whe re wait states are need ed
or when address is available few cycles ahead of data.
The counter and mask regi ster opera tions are totall y independent of port chip enables.
or MKRD is LOW. Counter readback has higher
(for counter
(for mask readback) from the following
CM2
CA2
and CE1). If ad-
0
IEEE 1149.1 Serial Boundary Scan (JTAG) and
Memory Built- In - S e lf -Test (MBIST)
The CY7C0430V incorporat es a serial boundary scan tes t access port (TAP). This por t operates in accordance with IEEE
Standard 1149.1-1900. Note that the TAP controller functions
in a manner that does not conflict with the operation of other
devices us ing 114 9.1 fu ll y compliant TAPs. The TAP operates
using JEDEC stand ard 3. 3V I/O l ogic l e v els . It is com pose d of
three input connec tions and one output connection require d by
the test logic defined by the standard. Memory BIST circuitry
will also be controlled through the TAP interface. All MBIST
instructions are compliant to the JTAG standard. An external
clock (CLKBIST) is provided to allow the user to r un BIST a t
speeds higher than 100 MHz. CLKBIST is multiple xed internally with the ports clocks during BIST operation.
Disabling the JTAG Feature
It is possible to operate the QuadPort without using the JTAG
feature. To disable the TAP controller, TCK must be tied LOW
) to prevent clocking of the device. TDI and TMS are in-
(V
SS
ternally pulled up and may be unconnected. They may alternately be connected to VDD through a pull-up resistor. TDO
should be left unconnected. CLKBIST must be tied LOW to
disable the MBIST. Upon power-up, the device will come up in
a reset state which will not interfere with the operation of the
device.
Test Access Port (TAP) - Test Clock (TCK)
The test clock is used only with the TAP controller. All inputs
are captured on th e rising e dge of TCK. All outputs are driven
from the falling edge of TCK.
Test Mode Select
The TMS input is used to giv e comm ands to the TAP controller
and is sampled on the rising edge of TCK. It is allowable to
leave this pin unconnected if the TAP is not used. The pin is
pulled up internally, resulting in a logic HIGH level.
Test Data-In (TDI)
The TDI pin is use d to s erially in pu t information into t he regi sters and can be connec ted to the inp ut o f any of the registers .
The register between TDI and TDO is chosen by the instruction that is loaded into the TAP instruction register. For information on loading the instruction register, see the TAP Controller State Diagram. TDI is internally pulled up and can be
unconnected if the TAP is unused in an application. TDI is
connected to the most significant bit (MSB) on any register.
Test Data Out (TDO)
The TDO output p in i s use d to se rial ly cl ock data-out from t he
registers. The output is active depending upon the current
state of the TAP state machine (see TAP Controller State Diagram (FSM)). The outpu t ch anges on the falli ng e dge of TC K.
TDO is connected to the leas t si gni fic an t bit (LSB ) of an y r egister.
Performing a TAP Reset
A Reset is performed by f orcing TMS HIGH (V
edges of TCK. This RESET does not af fect the operati on of the
QuadP ort and may be p erformed while th e device i s operating.
At power-up, the TAP is reset internally to ensure that TDO
comes up in a high-Z state.
TAP Registers
Registers are connected between the TDI and TDO pins and
allow data to be scanned into and out of the QuadPort test
circuitry. Only one register can be selected at a time through
the instruction reg isters. Data is serially loa ded into the T DI pin
on the rising edge of TCK. Data is output on the TDO pin on
the falling edge of TCK.
Instruction Register
Four-bit ins tructions can be serially lo ad ed i nto the instruction
register. This register is loaded when it is placed between the
TDI and TDO pins as shown in the following JTAG/BIST Controller diagram . Upon power-up , the instruction registe r is loaded with the IDCODE instruction. It is also loaded with the
IDCODE instruction if the controller is placed in a reset state
as described in the previous section.
When the TAP controller is in the CaptureIR state, the two least
significant bits are loaded with a binary “01” patt ern to allow f or
fault isolation of the board level serial test path.
Bypass Register
To save time when serially sh ifting data through registers, it is
sometimes adv a ntageo us to sk ip certain de vice s. The b ypas s
register is a si ngle-bit re gister tha t can be placed be tween TD I
and TDO pins. This allows data to be shifted through the
QuadPort with minimal delay. The bypass register is set LOW
) when the BYPASS instruction is executed.
(V
SS
Boundary Scan Register
The boundary scan register is connected to all the input and
output pins on the QuadPor t. The boundary scan register is
loaded with the c ontents of the QP Inpu t and Outpu t ring when
the TAP controller is in the Capture-DR state and is then
placed between the TDI and TDO pins when the controller is
moved to the Shift-DR state. The EXTEST, and SAMPLE/PRELOAD instructions can be used to capture the contents of the Input and Output ring.
) for five rising
DD
25
PRELIMINAR Y
CY7C0430V
Identification (ID) Register
The ID register is loaded with a vendor-specific, 32-bit code
during the Captu re-DR state when t he IDCO DE comm and is
loaded in the instruction register. The IDCODE is hardwired
into the QuadPor t and can be shifted out when the TAP controller is in the Shift-DR state. The ID register has a vendor
code and other inf ormation described in the Identific ation Register Defi nitions table.
TAP Instruction Set
Sixteen diff erent instructio ns are possib le with the 4- bit instruction register. All combinations are listed in Table 6, Instruction
Codes. Seven of these instructions (codes) are listed as RESERVED and should not be used. The other nine instructions
are described in detail below.
The TAP controller used in this QuadPort is fully compliant to
the 1149.1 con ven tion. The TAP controller can be u sed to load
address, data or control signals into the QuadPor t and can
preload the Input or ou tput b uff e rs. The Qua dPort implements
all of the 1149.1 instructions except INTEST. Table 6 lists all
instructions.
Instructions are loaded into the TAP controller during the
Shift-IR state when the instruction register is placed between
TDI and TDO. During this state, instructions are shifted
through the instruction regis ter through the TDI and TDO pins.
To execute the in struction onc e it is sh ifted in, the TAP controller needs to be moved into the Update-IR state.
EXTEST
EXTEST is a mandat ory 1149.1 in str uction which is to be executed whene v er th e instruc tion reg ister i s loade d with a ll 0s . EXTEST allows cir cuitry exter nal to the Q uadPort package t o be
tested. Boundary-scan register cells at output pins are used to
apply test stimuli, while those at input pins capture test results.
IDCODE
The IDCODE inst ruction causes a vendor -specific, 32 -bit code
to be loaded into the instruction register. It also places the
instruction register bet we en the TDI an d TDO p ins and allo ws
the IDCODE to be s hifted ou t of the de v ice when t he TAP controller enters the Shift-DR state. The IDCODE instruction is
loaded into the in struction register up on power-up or whenev er
the TAP controller is given a test logic reset state.
High-Z
The High-Z instruction causes the boundary scan register to
be connected between the TDI and TDO pins when the TAP
controller is in a Shift-DR state. It also places all QuadPort
outputs into a High-Z state.
SAMPLE / PRELOAD
SAMPLE / PRELOAD is a 1149.1 mandatory instruction.
When the SAMPLE / PRELOAD instructions loaded into the
instruction register and the TAP controller in the Capture-DR
state, a snapsh ot of data on the in puts an d output pi ns is c aptured in the boundary scan register.
The user must be a ware that the TAP controller clock can onl y
operate at a f requency up to 10 MHz, whil e the QuadP ort cloc k
operates more than an orde r of magnitude faster. Because
there is a large difference in the clock fr equencies, it i s possible
that during the Capture-DR st ate, an input or output will undergo a transition. The TAP may then try to capture a signal whi le
in transition (metastable state). This will not harm the device,
but there is no gu arant ee as to th e v alue that wi ll be cap tured.
Repeatabl e resul ts may not be possible.
To guarantee that the boundary scan register will capture the
correct value of a signal, the QuadPor t signal must be stabilized long enough to meet the TAP controller's capture set-up
plus hold time s. Once the d ata is capture d, it is possi ble to sh ift
out the data by putting the TAP into the Shift-DR state. This
places the boundary scan register between the TDI and TDO
pins. If the TAP controller goes into the Update-DR state, the
sampled data will be updated.
BYPASS
When the BYPASS instruction is loaded in the instruction register and the TAP is placed in a Shift-DR state, the bypass
register is placed between the TDI and TD O pi ns. The adv antage of the BYP ASS ins truction is that it shortens the boundary
scan path when mul tip le devices are connected together on a
board.
CLAMP
The optional CLAMP instruction a llow s the sta te of the s ignals
driven from QuadPort pins to be determined from the boundary-scan register while the BYPASS register is selected as the
serial path between TDI a nd TD O. CLAMP controls boundary
cells to 1 or 0.
RUNBIST
RUNBIST instruct ion provides the user with a means of ru nning a user-accessible self-test function within the QuadPor t
as a result of a sing le in struction. This permits all com ponen ts
on a board that offer the RUNBIST instruction to execute th eir
self-tests concurrently, providing a quick check for the board.
The QuadPort MBIST provides two modes of operation once
the TAP controller is loaded with the RUNBIST instruction:
Non-Debug Mode (Go-NoGo)
The non-debug mode is a go-nogo test used simply to run
BIST and obtain pass-fail information after the test is run. In
addition to that, the total number of failures encountered can
be obtaine d. Thi s i nformat ion is use d to aid the d ebug mod e
(explained next) of ope ration. The pass-fail inform ation and
failure count is scanned out using the JTAG interface. An
MBIST Result Register (MRR) will be used to store the
pass-fail res ul ts. The MRR is a 25-bi t re gis ter tha t w il l be connected between TDI and TDO during the internal scan
(INT_SCAN) operati on. The MRR will co ntain the total n umber
of fail read cycles of the entire MBIST sequence. MRR[0] (bit
0) is the Pass/Fail bit. A “1” indicates some type of failure occurred, and a “0” indicates entire memory pass.
In order to run BIST in non-debug mode, the 2-bit MBIST Control Register (MCR) is loaded with the default value “00”, and
the TAP controller’s finite state machine (FSM), which is synchronous to TCK, transition s to Run Test/Idle state. The entire
MBIST test wi ll be per formed with a deter ministic number of
TCK cycles depending on the TCK and CLKBIST frequency.
CLKBIST[]
t
CYC
t
CYC
t
CYC
--------------------------------------------
t
YC
C
TCK[]
is total number of TCK cycles required to run MBIST.
mSPC+×=
SPC is the Synchronization Padding Cycles (4–6 cycles)
m is a constant represents the number of re ad and write oper-
ations required to run MBIST algorithms (31,195,136).
26
PRELIMINAR Y
CY7C0430V
Once the entire MBIST se qu enc e is com pl ete d, su ppl yi ng extra TCK or CLKBIST cycles will have no effect on the MBIST
controller state or the pass-fail status.
Debug Mode
With the RUNBIST instruction loaded and the MCR loaded
with the value of “01”, and the FSM transitions to
RUN_TEST/I DLE state, th e MBIST goes into R UNBIST-debug
mode. The debug mode w i ll be us ed to pr ovi de co mp le te failure analysis inf o rmation at the bo ard le vel. It is recommended
that the user runs the non-debug mode first and then the debug mode in ord er to sa v e test ti me and to set an up per bound
on the number of scan outs that will be needed. The failure
data will be scanned out automatically once a failure occurs
using the JTAG TAP interface. The failure data will be represented by a 100-bit packet given below. The 100-bit Memory
debug Register (MDR) will be connected between TDI and
TDO, and wi ll be shifted out on TDO , which is sync hroniz ed to
TCK.
Figure 3 i s a repr esentati on of th e 100-bit MDR packet. Th e
packet follows a 2-bit header that has a logic “1” value, and
represents two TCK cycles. MDR[97:26] represent the BIST
comparator values of all four ports (each port has 18 data
lines). A value of “1” indicates a bit failure. The scanned out
data is from MSB to LSB. MDR[25:10] represent the failing
address (MSB to LSB). The state of the BIST controller is
scanned out using MDR[9:4]. Bit 2 is the Test Done bit. A “0”
in bit 2 means test not complete. The user has to monitor this
bit at every pac ket to determine if more f ailure pac kets need to
be scanned out at the end of the BIST operations. If the value
is “0” then BIST must be repeated to capture the next failing
packet. If it is “1,” it means that the last failing packets have
been scanned out. A trailer similar to the header represents
the end of a packet.
MCR_SCAN
This instruction will connect the Memory BIST Control Register (MCR) between TDI and TDO. The default value (upon
master reset) is “00”. Shift_DR state will allow modifying the
MCR to extend the MBIST functionality.
MBIST Control States
Thirty-five states are lis ted in Table 7. Four data algorithms are
used in debug mode: moving inversion (MIA), march_2 (M2A),
checkerboard (CBA), and unique address algorithm (UAA).
Only Port 1 can write MIA, M2A, and CBA data to the memory.
All four ports can read any algorithm data from the QP memory. Ports 2, 3, and 4 will only write UAA data.
Boundary Scan Cells (BSC)
Table 9 lists all QuadPort I/Os with their associated BSC. Notice that the cells have even numbers. Every I/O has two
boundary scan cells. Bidi rectional signals (address lines, da talines) require two cells so that one (the odd cell) is used to
control a three-state buffer. Input only and output only signals
have an extra dummy cell (odd cells) that are used to ease
device layout.
9998
11
97
P4_IO(17-9)
6126
P4_IO(8-0)
25
A(15-0)
9
MBIST_State
3
P/F
2
TD
10
11
P3_IO(17-9)P1_IO(17-9)P2_IO(17-9)
P3_IO(8-0)P1_IO(8-0)P2_IO(8-0)
10
4
Figure 3. MBIST Debug Register Packet
62
27
PRELIMINAR Y
CY7C0430V
TAP Controller State Diagram (FSM)
1
TEST-LOGIC
RESET
0
0
RUN_TEST/
1
IDLE
[47]
SELECT
DR-SCAN
1
CAPTURE-DR
SHIFT-DR
EXIT1-DR
1
SELECT
IR-SCAN
1
0
0
1
CAPTURE-IR
0
0
SHIFT-IR
1
1
EXIT1-IR
0
0
1
1
0
PAUSE-DR
1
0
EXIT2-DR
1
UPDATE-DR
1
Note:
47. The 0/1 next to each state represents the value at TMS at the rising edge of TCK.
0
0
PAUSE-IR
0
1
0
EXIT2-IR
1
UPDATE-IR
1
0
0
28
PRELIMINAR Y
JTAG/BIST TAP Controller Block Diagram
MBIST Control Register (MCR)
TDI
MBIST Result Register (MRR)
31 30 290
Bypass Register (BYR)
1 0
3 2 1 0
Instruction Register (IR)
24 230
CY7C0430V
0
Selection
Circuitry
TDO
CLKBIST
990
BIST
CONTROLLER
MEMORY
CELL
Identification Register (IDR)
MBIST Debug Register (MDR)
0391
Boundary Scan Register (BSR)
TAP
CONTROLLER
(MUX)
TCK
TMS
MRST
29
JTAG Timing Wave form
Test Clock
TCK
Test Mode Select
TMS
Test Data-In
TDI
PRELIMINAR Y
t
TMSS
t
TDIS
CY7C0430V
t
t
TH
TL
t
TMSH
t
TDIH
t
TCYC
Test Data-Out
TDO
t
TDOX
Table 4. Identification Register Definitions
Instruction FieldValueDescription
Revision Number
(31:28)
Cypress Devic e ID
(27:12)
Cypress JEDEC ID
(11:1)
ID Register Presence
(0)
0hReserved for version number
C000hDefine s Cypress part number
34hAllows unique identification of QuadPort vendor
1Indicate the presence of an ID register
t
TDOV
30
PRELIMINAR Y
Table 5. Scan Registers Sizes
Register NameBit Size
Instruction (IR)4
Bypass (BYR)1
Identification (IDR)32
MBIST Control (MCR)2
MBIST Result (MRR)25
MBIST Debug (MDR)100
Boundary Scan (BSR)392
Table 6. Instruction Identification Codes
InstructionCodeDescription
EXTEST0000Captures the Input/Output ring contents. Pla ces the boundary scan register
(BSR) between the TDI and TDO.
BYPASS1111Places the bypass register (BYR) between TDI and TDO.
CY7C0430V
IDCODE0111Loads the ID reg ister (IDR) with the v endor ID c ode and places th e registe r
HIGHZ0110Places the boundary scan registe r between TDI a nd TDO . F orces all Qu ad-
CLAMP0101Controls boundary to 1/0. Uses BYR.
SAMPLE/PRELOAD0001Captures the Input/Output ring contents. Places the boundary scan register
RUNBIST1000Invokes MBIST. Places the MBIST Debug re gister (MDR) between TDI an d
INT_SCAN0010Scans out pass-fail information. Places MBIST Result Register (MRR) be-
MCR_SCAN0011Presets RUNBIST mode. Places MBIST Control Register (MCR) between
RESERVEDAll other codesSeven combinations are reserved. Do not use other than the above.
Table 7. MBIST Control States
States CodeState NameDescription
000001movi_zerosPort 1 write all zeros to the QP memory using Moving Inversion Algorithm
000011movi_1_upcntUp count from 0 to 64K (depth of QP). All ports read 0s, then P ort 1 writes 1s
000010movi_0_upcntUp count from 0 to 64K. All p orts read 1s, then P ort 1 writes 0s, the n all ports
000110movi_1_downcntDown count from 64K to 0. MIA_r0w1r1.
000111movi_0_downcntDown count MIA_r1w0r0.
000101movi_readRead all 0s.
between TDI and TDO.
Port output drivers to a High-Z state. Uses BYR.
(BSR) between TDI and TDO.
TDO.
tween TDI and TDO.
TDI and TDO.
(MIA).
to all memory locations using MIA, then all ports read 1s. MIA
read0_write1_read1 (MIA_r0w1r1).
read 0s (MIA_r1w0r0).
000100mar2_zerosPort 1 write all zeros to memory using March2 Algorithm (M2A).
001100mar2_1_upcntUp count M2A_r0w1r1.
011001uaddr_zeros2Port 2 write all zeros to memory using Unique Address Algorithm (UAA).
011011uaddr_write2Port 2 writes every address value into its memory location (UAA).
011010uaddr_read2All ports read UAA data.
011110uaddr_ones2Port 2 writes all ones to memory.
011111n_uaddr_write2Port 2 writes inverse address value into memory.
011101n_uaddr_read2All ports read inverse UAA data.
011001uaddr_zeros3Port 3 write all zeros to memory using Unique Address Algorithm (UAA).
011011uaddr_write3Port 3 writes every address value into its memory location (UAA).
011010uaddr_read3All ports read UAA data.
011110uaddr_ones3Port 3 writes all ones to memory.
011111n_uaddr_write3Port 3 writes inverse address value into memory.
011101n_uaddr_read3All ports read inverse UAA data.
CY7C0430V
011001uaddr_zeros4Port 4 write all zeros to memory using Unique Address Algorithm (UAA).
011011uaddr_write4Port 4 writes every address value into its memory location (UAA).
011010uaddr_read4All ports read UAA data.
011110uaddr_ones4Port 4 writes all ones to memory.
011111n_uaddr_write4Port 4 writes inverse address value into memory.
011101n_uaddr_read4All ports read inverse UAA data.