CY7C135 CYPRESS [Cypress Semiconductor], CY7C135 Datasheet - Page 9

no-image

CY7C135

Manufacturer Part Number
CY7C135
Description
4K x 8 Dual-Port Static RAM and 4K x 8 Dual-Port SRAM with Semaphores
Manufacturer
CYPRESS [Cypress Semiconductor]
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
CY7C135-15JXC
Manufacturer:
Cypress Semiconductor Corp
Quantity:
10 000
Part Number:
CY7C135-25JC
Manufacturer:
CYPRESS
Quantity:
8 831
Part Number:
CY7C135-25JI
Manufacturer:
CYP
Quantity:
288
Part Number:
CY7C135-25JXC
Manufacturer:
Cypress Semiconductor Corp
Quantity:
10 000
Part Number:
CY7C135-25JXI
Manufacturer:
Cypress Semiconductor Corp
Quantity:
135
Part Number:
CY7C135-25JXI
Manufacturer:
Cypress Semiconductor Corp
Quantity:
10 000
Part Number:
CY7C135-35JC
Manufacturer:
CYPRESS
Quantity:
13 888
Part Number:
CY7C1350-100AC
Manufacturer:
SHARP
Quantity:
6 265
Part Number:
CY7C1350B-100AC
Manufacturer:
MARVELL
Quantity:
2 000
Company:
Part Number:
CY7C1350F-200AC
Quantity:
16
Part Number:
CY7C1350G-133AXC
Manufacturer:
Cypress Semiconductor Corp
Quantity:
10 000
Architecture
The CY7C135 consists of an array of 4K words of 8 bits each
of dual-port RAM cells, I/O and address lines, and control sig-
nals (CE, OE, R/W). Two semaphore control pins exist for the
CY7C1342 (SEM
Functional Description
Write Operation
Data must be set up for a duration of t
of R/W in order to guarantee a valid write. Since there is no
on-chip arbitration, the user must be sure that a specific loca-
tion will not be accessed simultaneously by both ports or erro-
neous data could result. A write operation is controlled by ei-
ther the OE pin (see Write Cycle No. 1 timing diagram) or the
R/W pin (see Write Cycle No. 2 timing diagram). Data can be
written t
falling edge of R/W. Required inputs for write operations are
summarized in Table 1.
If a location is being written to by one port and the opposite
port attempts to read the same location, a port-to-port
flowthrough delay is met before the data is valid on the output.
Data will be valid on the port wishing to read the location t
after the data is presented on the writing port.
Read Operation
When reading the device, the user must assert both the OE
and CE pins. Data will be available t
OE are asserted. If the user of the CY7C1342 wishes to ac-
cess a semaphore, the SEM pin must be asserted instead of
the CE pin. Required inputs for read operations are summa-
rized in Table 1.
Semaphore Operation
The CY7C1342 provides eight semaphore latches which are
separate from the dual port memory locations. Semaphores
are used to reserve resources which 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 zero to a sema-
phore 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
semaphore. The semaphore value will be available t
t
was successful (reads a zero), it assumes control over the
shared resource, otherwise (reads a one) 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 one), the left side will succeed in gaining control of
the semaphore. If the left side no longer requires the sema-
phore, a one is written to cancel its request.
Semaphores are accessed by asserting SEM LOW. The SEM
pin functions as a chip enable for the semaphore latches. CE
must remain HIGH during SEM LOW. A
semaphore address. OE and R/W are used in the same man-
ner as a normal memory access. When writing or reading a
semaphore, the other address pins have no effect.
When writing to the semaphore, only I/O
written to the left port of an unused semaphore, a one will
appear at the same semaphore address on the right port. That
semaphore can now only be modified by the side showing a
Document #: 38-06038 Rev. *B
DOE
after the rising edge of the semaphore write. If the left port
HZOE
after the OE is deasserted or t
L/R
).
SOP
before attempting to read the
ACE
SD
before the rising edge
after CE or t
0
0–2
is used. If a 0 is
HZWE
represents the
DOE
after the
SWRD
after
DDD
+
zero (the left port in this case). If the left port now relinquishes
control by writing a one to the semaphore, the semaphore will
be 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 sema-
phore. Table 2 shows sample semaphore operations.
When reading a semaphore, all eight data lines output the
semaphore value. The read value is latched in an output reg-
ister to prevent the semaphore from changing state during a
write from the other port. If both ports request a semaphore
control by writing a 0 to a semaphore within t
it is guaranteed that only one side will gain access to the sema-
phore.
Initialization of the semaphore is not automatic and must be
reset during initialization program at power-up. All sema-
phores on both sides should have a one written into them at
initialization from both sides to assure that they will be free
when needed.
Table 1. Non-Contending Read/Write
Table 2. Semaphore Operation Example
No Action
Left port writes
semaphore
Right port writes 0 to
semaphore
Left port writes 1 to
semaphore
Left port writes 0 to
semaphore
Right port writes 1 to
semaphore
Left port writes 1 to
semaphore
Right port writes 0 to
semaphore
Right port writes 1 to
semaphore
Left port writes 0 to
semaphore
Left port writes 1 to
semaphore
CE
H
H
X
H
L
L
L
Function
R/W
X
H
X
H
X
L
L
Inputs
OE
X
H
X
X
X
L
L
SEM
H
X
H
H
L
L
L
I/O
Left
1
0
0
1
1
0
1
1
1
0
1
High Z
Data Out
High Z
Data In
Data Out
Data In
0-7
I/O
Outputs
0
– I/O
I/O
Right
1
1
1
0
0
1
1
0
1
1
1
0-7
7
Semaphore free
Left port obtains
semaphore
Right side is denied
access
Right port is granted
access to Sema-
phore
No change. Left port
is denied access
Left port obtains
semaphore
No port accessing
semaphore address
Right port obtains
semaphore
No port accessing
semaphore
Left port obtains
semaphore
No port accessing
semaphore
Power-Down
Read
Semaphore
I/O Lines Disabled
Write to Semaphore
Read
Write
Illegal Condition
CY7C1342
CY7C135
SPS
Operation
Status
of each other,
Page 9 of 12

Related parts for CY7C135