Maximum Access Time2025ns
Typical Operating Current1201 15mA
Typical Standby Current for I
(Both ports TTL Level)
Typical Standby Current for I
(Both ports CMOS Level)
Document #: 38-06052 Rev. *JPage 4 of 19
SB1
SB3
3530mA
1010μA
CY7C024AV/024BV/025AV/026AV
CY7C0241AV/0251AV/036AV
-25
Unit
[+] Feedback
CY7C024AV/024BV/025AV/026AV
CY7C0241AV/0251AV/036AV
Pin Definitions
Left PortRight PortDescription
CE
L
R/W
L
OE
L
A
0L–A13L
–IO
IO
0L
17L
SEM
SEM
L
UB
L
LB
L
INT
L
BUSY
L
CE
R
R/W
R
OE
R
A0R–A
IO0R–IO
R
UB
R
LB
R
INT
R
BUSY
R
13R
17R
M/S
V
CC
GNDGround
NCNo Connect
Chip Enable
Read and Write Enable
Output Enable
Address (A0–A11 for 4K devices; A0–A12 for 8K devices; A0–A13 for 16K)
Data Bus Input and Output
Semaphore Enable
Upper Byte Select (IO8–IO15 for x16 devices; IO9–IO17 for x18 devices)
Lower Byte Select (IO0–IO7 for x16 devices; IO0–IO8 for x18 devices)
Interrupt Flag
Busy Flag
Master or Slave Select
Power
Architecture
The CY7C024AV/024BV/025AV/026AV and
CY7C0241AV/0251AV/036AV consist of an array of 4K, 8K, and
16K words of 16 and 18 bits each of dual-port RAM cells, IO and
address lines, and control signals (CE
, OE, RW). These control pins
permit independent access for reads or writes to any location in
memory. To handle simultaneous writes and reads to the same
location, a BUSY
pin is provided on each port. Two Interrupt (INT)
pins can be used for port to port communication. Two Semaphore
(SEM) control pins are used for allocating shared resources. With
the M/S
outputs) or as a slave (BUSY
automatic power down feature controlled by CE
own output enable control (OE
pin, the devices can function as a master (BUSY pins are
pins are inputs). They also have an
. Each port has its
), which enables data to be read from
the device.
Functional Description
The CY7C024AV/024BV/025AV/026AV and
CY7C0241AV/0251AV/036AV are low power CMOS 4K, 8K, and
16K ×16/18 dual port static RAMs. V arious arbitration schemes are
included on the devices to handle situations when multiple
processors access the same piece of data. There are two ports
permitting independent, asynchronous access for reads and writes
to any location in memory. The devices can be used as standalone
16 or18-bit dual port static RAMs or multiple devices can be
combined to function as a 32 or 36-bit or wider master and slave
dual port static RAM. An M/S
36-bit or wider memory applications. It does not need separate
master and slave devices or additional discrete logic. Application
areas include interprocessor/multiprocessor designs, communications status buffering, and dual port video and graphics memory.
Each port has independent control pins: Chip Enable (CE
or Write Enable (R/W
provided on each port (BUSY
port is trying to access the same location currently being
pin is provided for implementing 32 or
), Read
), and Output Enable (OE). Two flags are
and INT). BUSY signals that the
accessed by the other port. The Interrupt flag (INT
) permits
communication between ports or systems by means of a mail
box. The semaphores are used to pass a flag, or token, from one
port to the other to indicate that a shared resource is in use. The
semaphore logic has eight shared l atches. Only one side can
control the latch (semaphore) at any time. Control of a
semaphore indicates that a shared resource is in use. An
automatic power down feature is controlled independently on
each port by a Chip Select (CE
) pin.
The CY7C024AV/024BV/025AV/026AV and
CY7C0241AV0251AV/036A V are available in 100-pin Pb-free Thin
Quad Flat Pack (TQFP) and 100-pin TQFP .
Write Operation
Data must be set up for a duration of tSD before the rising edge
of RW
to guarantee a valid write. A write operation is controlled
by either the RW
pin (see Figure 8 on page 12) or the CE pin (see
Figure 9 on page 12). Required inputs for non-contention opera-
tions are summarized in Table 1 on page 7.
If a location is being written to by one port and the opposite port
tries to read that location, there must be a port to port flowthrough
delay before the data is read on the output; otherwise the d ata
read is not deterministic. Data is valid on the port t
data is presented on the other port.
DDD
after the
Read Operation
When reading the device, the user must assert both the OE and
pins. Data is available t
CE
asserted. If the user wants to access a semaphore flag, then the
SEM
pin and OE must be asserted.
after CE or t
ACE
after OE is
DOE
Interrupts
The upper two memory locations are for message passing. The
highest memory location (FFF for the
CY7C024AV/024BV/41AV/1FFF for the CY7C025AV/51AV,
Document #: 38-06052 Rev. *JPage 5 of 19
[+] Feedback
CY7C024AV/024BV/025AV/026AV
CY7C0241AV/0251AV/036AV
3FFF for the CY7C026AV/36AV) is the mailbox for the right port
and the second highest memory location (FFE for the
CY7C024AV/024BV/41AV/1FFE for the CY7C025AV/51AV,
3FFE for the CY7C026AV/36AV) is the mailbox for the left port.
When one port writes to the other port’s mailbox, an inte rrupt is
generated to the owner. The interrupt is reset when the owner
reads the contents of the mailbox. The message is user defined.
Each port can read the other port’s mailbox without resetting the
interrupt. The active state of the busy signal (to a port) prevents
the port from setting the interrupt to the winning port. Also, an
active busy to a port prevents that port from reading its own
mailbox and, thus, resetting the interrupt to it.
If an application does not require message passing, do not
connect the interrupt pin to the processor’s interrupt request
input pin.
The operation of the interrupts and their interaction with Busy are
summarized in Table 2 on page 7.
Busy
The CY7C024AV/024BV/025AV/026AV and
CY7C0241AV/0251AV/036A V provide on-chip arbitration to resolve
simultaneous memory location access (contention). If both ports’
CE
s are asserted and an address match occurs within tPS of each
other, the busy logic determines which port has access. If t
violated, one port definitely gains permission to the location, but it is
not predictable which port gets that permission. BUSY
after an address match or t
t
BLA
after CE is taken LOW.
BLC
is asserted
PS
is
Master/Slave
A M/S pin helps to expand the word width by configuring the
device as a master or a slave. The BUSY
connected to the BUSY
input of the slave. This enables the
device to interface to a master device with no external components. Writing to slave devices must be delayed until after the
BUSY
input has settled (t
may begin a write cycle during a contention situation. When tied
BLC
or t
BLA
HIGH, the M/S pin enables the device to be u sed as a master
and, therefore, the BUSY
line is an output. BUSY can then be
used to send the arbitration outcome to a slave.
output of the master is
). Otherwise, the slave chip
Semaphore Operation
The CY7C024AV/024BV/025AV/026AV and
CY7C0241AV/0251AV/036A V provide eight semaphore latches,
which are separate from the dual port memory locations.
Semaphores are used to reserve resources that are shared
between the two ports. The state of the semaphore indicates that
a resource is in use. For example, if the left port wants to request
a given resource, it sets a latch by writing a zero to a semaphore
location. The left port then verifies its success in setting the latch
by reading it. After writing to the semaphore, SEM
be deasserted for t
The semaphore value is available t
edge of the semaphore write. If the left port was successful
before attempting to read the semaphore.
SOP
SWRD
+ t
(reads a zero), it assumes control of the shared resource.
Otherwise (reads a one), it assumes the right port has con trol
and continues to poll the semaphore. When the right side has
relinquished control of the semaphore (by writing a one), the left
side succeeds in gaining control of the semaphore. If the left side
no longer requires the semaphore, a one is written to cancel its
request.
Semaphores are accessed by asserting SEM
pin functions as a chip select for the semaphore latches (CE
must remain HIGH during SEM LOW). A
semaphore address. OE
and RW are used in the same manner
as a normal memory access. When writing or reading a
semaphore, the other address pins have no effect.
When writing to the semaphore, only IO
written to the left port of an available semaphore, a one appears
is used. If a zero is
0
at the same semaphore address on the right port. That
semaphore can now only be modified by the side showing zero
(the left port in this case). If the left port now relinquishes control
by writing a one to the semaphore, the semaphore is set to one
for both sides. However, if the right port had requested the
semaphore (written a zero) while the left port had control, the
right port would immediately own the semaphore as soon as the
left port released it. T able 3 on page 7 shows sample semaphore
operations.
When reading a semaphore, all 16 and 18 data lines output the
semaphore value. The read value is latched in an output register
to prevent the semaphore from changing state during a write
from the other port. If both ports attempt to access the
semaphore within t
obtained by one of them. But there is no guarantee which side
of each other, the semaphore is definitely
SPS
controls the semaphore.
or OE must
after the rising
DOE
LOW. The SEM
represents the
0–2
Document #: 38-06052 Rev. *JPage 6 of 19
[+] Feedback
Loading...
+ 13 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.