CY7C006-15JC CYPRESS [Cypress Semiconductor], CY7C006-15JC Datasheet - Page 13

no-image

CY7C006-15JC

Manufacturer Part Number
CY7C006-15JC
Description
16K x 8/9 Dual-Port Static RAM with Sem, Int, Busy
Manufacturer
CYPRESS [Cypress Semiconductor]
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
CY7C006-15JC
Manufacturer:
CYP
Quantity:
1 265
Architecture
The CY7C006/016 consists of a an array of 16K words of 8/9
bits each of dual-port RAM cells, I/O and address lines, and
control signals (CE, OE, R/W). These control pins permit indepen-
dent access for reads or writes to any location in memory. To handle
simultaneous writes/reads to the same location, a BUSY pin is pro-
vided on each port. Two Interrupt (INT) pins can be utilized for
port-to-port communication. Two Semaphore (SEM) control pins are
used for allocating shared resources. With the M/S pin, the
CY7C006/016 can function as a Master (BUSY pins are outputs) or
as a slave (BUSY pins are inputs). The CY7C006/016 has an auto-
matic power-down feature controlled by CE. Each port is provided
with its own Output Enable control (OE), which allows data to be read
from the device.
Functional Description
Write Operation
Data must be set up for a duration of t
of R/W in order to guarantee a valid write. A write operation is con-
trolled by either the OE pin (see Write Cycle No.1 waveform) or the
R/W pin (see Write Cycle No. 2 waveform). Data can be written to the
device t
edge of R/W. Required inputs for non-contention operations are sum-
marized in Table 1.
If a location is being written to by one port and the opposite
port attempts to read that location, a port-to-port flowthrough
delay must be met before the data is read on the output; oth-
erwise the data read is not deterministic. Data will be valid on
the port t
Table 1. Non-Contending Read/Write
Read Operation
When reading the device, the user must assert both the OE
and CE pins. Data will be available t
asserted. If the user of the CY7C006/016 wishes to access a sema-
phore flag, then the SEM pin must be asserted instead of the CE pin.
Table 2. Interrupt Operation Example (assumes BUSY
Set Left INT
Reset Left INT
Set Right INT
Reset Right INT
CE
H
H
X
H
L
L
L
HZOE
R/W
Function
X
H
X
H
X
DDD
L
Inputs
after the OE is deasserted or t
after the data is presented on the other port.
OE
X
H
X
X
X
L
L
SEM
H
H
H
X
L
L
L
High Z
Data Out
High Z
Data In
Data Out
Data In
Outputs
R/W
I/O
X
X
X
L
ACE
0–7/8
after CE or t
SD
CE
Power-Down
Read Data in
Semaphore
I/O Lines Disabled
Write to Semaphore
Read
Write
Illegal Condition
X
X
L
L
before the rising edge
HZWE
Operation
DOE
Left Port
after the falling
OE
after OE are
X
L
X
X
L
A
=BUSY
3FFE
3FFF
0L–13L
X
X
13
Interrupts
The interrupt flag (INT) permits communications between ports.
When the left port writes to location 3FFF(HEX), the right port’s inter-
rupt flag (INT
that same location. Setting the left port’s interrupt flag (INT
complished when the right port writes to location 3FFE(HEX). This
flag is cleared when the left port reads location 3FFE(HEX). The mes-
sage at 3FFE(HEX) and 3FFF(HEX) is user-defined. See Table 2 for
input requirements for INT. INT
do not require pull-up resistors to operate.
Busy
The CY7C006/016 provides on-chip arbitration to resolve si-
multaneous memory location access (contention). If both
ports’ CEs are asserted and an address match occurs within t
each other the Busy logic will determine which port has access. If t
is violated, one port will definitely gain permission to the location, but
it is not guaranteed which one. BUSY will be asserted t
address match or t
in master mode are push-pull outputs and do not require pull-up re-
sistors to operate.
Master/Slave
An M/S pin is provided in order to expand the word width by config-
uring the device as either a master or a slave. The BUSY output of
the master is connected to the BUSY input of the slave. This will allow
the device to interface to a master device with no external compo-
nents. Writing of slave devices must be delayed until after the BUSY
input has settled (t
cycle during a contention situation. When presented a HIGH input,
the M/S pin allows the device to be used as a master and therefore
the BUSY line is an output. BUSY can then be used to send the
arbitration outcome to a slave.
Semaphore Operation
The CY7C006/016 provides eight semaphore latches which
are separate from the dual-port memory locations. Sema-
phores are used to reserve resources that are shared between
the two ports.The state of the semaphore indicates that a re-
source is in use. For example, if the left port wants to request
a given resource, it sets a latch by writing a 0 to a semaphore
location. The left port then verifies its success in setting the
latch by reading it. After writing to the semaphore, SEM or OE
must be deasserted for t
phore. The semaphore value will be available t
rising edge of the semaphore write. If the left port was successful
(reads a 0), it assumes control over the shared resource, otherwise
(reads a 1) it assumes the right port has control and continues to poll
the semaphore.When the right side has relinquished control of the
semaphore (by writing a 1), the left side will succeed in gaining control
of the semaphore. If the left side no longer requires the semaphore,
a 1 is written to cancel its request.
R
=HIGH)
INT
H
X
X
L
R
) is set. This flag is cleared when the right port reads
R/W
X
X
X
L
BLA
BLC
). Otherwise, the slave chip may begin a write
after CE is taken LOW. BUSY
SOP
CE
X
L
L
L
R
before attempting to read the sema-
and INT
Right Port
OE
X
X
L
L
L
are push-pull outputs and
SWRD
A
3FFE
3FFF
CY7C006
CY7C016
0R–13R
X
X
+ t
L
DOE
and BUSY
BLA
L
after the
after an
INT
) is ac-
H
X
X
L
PS
PS
of
R

Related parts for CY7C006-15JC