Cypress CYD02S36VA, CYD09S36V, CYD02S36V, CYD18S36V, CYD04S36V, CYD01S36V User Manual
Specifications and Main Features
Frequently Asked Questions
User Manual
CYD01S36V
CYD02S36V/36VA/CYD04S36V
CYD09S36V/CYD18S36V
FLEx36™ 3.3V 32K/64K/128K/256K/512 x 36
Synchronous Dual-Port RAM
Features
Functional Description
■ True dual-ported memory cells that enable simultaneous
access of the same memory location
■ Synchronous pipelined operation
■ Family of 1-Mbit, 2-Mbit, 4-Mbit, 9-Mbit and 18-Mbit devices
■ Pipelined output mode allows fast operation
■ 0.18 micron CMOS for optimum speed and power
■ High speed clock to data access
■ 3.3V low power
❐ Active as low as 225 mA (typ.)
❐ Standby as low as 55 mA (typ.)
■ Mailbox function for message passing
■ Global master reset
■ Separate byte enables on both ports
■ Commercial and industrial temperature ranges
■ IEEE 1149.1-compatible JTAG boundary scan
■ 256 Ball FBGA (1-mm pitch)
■ Counter wrap around control
❐ Internal mask register controls counter wrap-around
❐ Counter-interrupt flags to indicate wrap-around
❐ Memory block retransmit operation
■ Counter readback on address lines
■ Mask register readback on address lines
■ Dual Chip Enables on both ports for easy depth expansion
■ Seamless migration to next-generation dual-port family
The FLEx36™ family includes 1-Mbit, 2-Mbit, 4-Mbit, 9-Mbit, and
18-Mbit pipelined, synchronous, true dual-port static RAMs that
are high speed, low power 3.3V CMOS. Two ports are provided,
permitting independent, simultaneous access to any location in
memory. A particular port can write to a certain location while
another port is reading that location. 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 setup and hold time.
During a Read operation, data is registered for decreased cycle
time. Each port contains a burst counter on the input address
register. After externally loading the counter with the initial
address, the counter increments the address internally (more
details to follow). The internal Write pulse width is independent
of the duration of the R/W
input signal. The internal Write pulse
is self-timed to allow the shortest possible cycle times.
A HIGH on CE0
or LOW on CE1 for one clock cycle powers down
the internal circuitry to reduce the static power consumption. One
cycle with chip enables asserted is required to reactivate the
outputs.
Additional features include: readback of burst-counter internal
address value on address lines, counter-mask registers to
control the counter wrap-around, counter interrupt (CNTINT
flags, readback of mask register value on address lines,
retransmit functionality, interrupt flags for message passing,
JTAG for boundary scan, and asynchronous Master Reset
(MRST
).
The CYD18S36V devices in this family has limited features.
Please see Address Counter and Mask Register Operations
on page 5 for details.
Seamless Migration to Next-Generation Dual-Port
Family
Cypress offers a migration path for all devices in this family to the
next-generation devices in the Dual-Port family with a compatible
footprint. Please contact Cypress Sales for more details.
Table 1. Product Selection Guide
Density
1 Mbit
(32K x 36)
2 Mbit
(64K x 36)
4 Mbit
(128K x 36)
9 Mbit
(256K x 36)
18 Mbit
(512K x 36)
Part NumberCYD01S36VCYD02S36V/36VACYD04S36VCYD09S36VCYD18S36V
2. This ball represents a next generation Dual-Port feature. For more information about this feature, contact Cypress Sales.
3. Connect this ball to VDDIO. For more information about this next generation Dual-Port feature contact Cypress Sales.
4. Connect this ball to VSS. For more information about this next generation Dual-Port feature, contact Cypress Sales.
5. Leave this ball unconnected. For more information about this feature, contact Cypress Sales.
6. Leave this ball unconnected for 32K x 36configuration.
7. Leave this ball unconnected for a 64K x 36, 32K x 36 configurations.
8. Leave this ball unconnected for a 128K x 36, 64K x 36 and 32K x 36 configurations.
9. Leave this ball unconnected for a 256K x 36, 128K x 36, 64K x 36, and 32K x 36 configurations.
10. These balls are not applicable for CYD18S36V device. They need to be tied to VDDIO.
11. These balls are not applicable for CYD18S36V device. They need to be tied to VSS.
12. These balls are not applicable for CYD18S36V device. They need to be no connected.
Document Number: 38-06076 Rev. *GPage 3 of 28
[+] Feedback
CYD01S36V
CYD02S36V/36VA/CYD04S36V
CYD09S36V/CYD18S36V
Pin Definitions
Left PortRight PortDescription
A
0L–A18L
BE
–BE
0L
[2,5]
BUSY
L
C
L
[11]
CE0
L
[10]
CE1
L
DQ
–DQ
0L
OE
L
INT
L
LowSPD
L
[2,4]
PORTSTD[1:0]
R/W
L
ADS
RET
V
DDIOL
L
L
[2,3]
L
L
[2, 3, 4]
L
L
[11]
L
L
L
[2,3]
[2,3]
L
[2,4]
[2,5]
L
[11]
[12]
READY
CNT/MSK
CNTEN
CNTRST
CNTINT
WRP
FTSEL
VREF
REV
3L
35L
[2,4]
L
[10]
[10]
MRST
TRST
TMSJTAG Test Mode Select Input. It controls the advance of JTAG TAP state machine. State
TCKJTAG Test Clock Input.
TDOJTAG Test Data Output. TDO transitions occur on the falling edge of TCK. TDO is
V
V
CORE
V
A0R–A
BE0R–BE
BUSY
R
C
R
CE0
R
[10]
CE1
R
DQ0R–DQ
OE
R
INT
R
18R
3R
[2,5]
[11]
35R
Address Inputs.
Byte Enable Inputs. Asserting these signals enables Read and Write operations to the
corresponding bytes of the memory array.
Port Busy Output. When the collision is detected, a BUSY is asserted.
Input Clock Signal.
Active Low Chip Enable Input.
Active High Chip Enable Input.
Data Bus Input/Output.
Output Enable Input. This asynchronous signal must be asserted LOW to enable the DQ
data pins during Read operations.
Mailbox Interrupt Flag Output. The mailbox permits communications between ports. The
upper two memory locations can be used for message passing. INT
when the right port writes to the mailbox location of the left port, and vice versa. An interrupt
to a port is deasserted HIGH when it reads the contents of its mailbox.
R/W
V
DDIOR
R
R
[2,3]
R
R
R
[2, 3, 4]
R
R
R
R
[11]
R
R
R
[2,3]
[2,3]
[2,4]
[2,4]
[2,5]
[10]
R
[11]
[10]
[12]
Port Low Speed Select Input.
[2,4]
Port Address/Control/Data IO Standard Select Inputs.
R
Read/Write Enable Input. Assert this pin LOW to write to, or HIGH to Read from the dual
port memory array.
Port Ready Output. This signal is asserted when a port is ready for normal operation.
Port Counter/Mask Select Input. Counter control input.
Port Counter Address Load Strobe Input. Counter control input.
Port Counter Enable Input. Counter control input.
Port Counter Reset Input. Counter control input.
Port Counter Interrupt Output. This pin is asserted LOW when the unmasked portion of
the counter is incremented to all “1s”.
Port Counter Wrap Input. The burst counter wrap control input.
Port Counter Retransmit Input. Counter control input.
Flow-Through Select. Use this pin to select Flow-Through mode. When is de-asserted,
the device is in pipelined mode.
Port External High-Speed IO Reference Input.
Port IO Power Supply.
Reserved pins for future features.
LowSPD
PORTSTD[1:0]
READY
CNT/MSK
ADS
CNTEN
CNTRST
CNTINT
WRP
RET
FTSEL
VREF
REV
Master Reset Input. MRST is an asynchronous input signal and affects both ports. A
maser reset operation is required at power up.
[2,5]
JTAG Reset Input.
machine transitions occur on the rising edge of TCK.
TDIJTAG Test Data Input. Data on the TDI input is shifted serially into selected registers.
normally three-stated except when captured data is shifted out of the JTAG TAP.
SS
[13]
TTL
Ground Inputs.
Core Power Supply.
LVTTL Power Supply for JTAG IOs
is asserted LOW
L
Document Number: 38-06076 Rev. *GPage 4 of 28
[+] Feedback
CYD01S36V
CYD02S36V/36VA/CYD04S36V
CYD09S36V/CYD18S36V
Master Reset
The FLEx36 family devices undergo a complete reset by taking
its MRST
nously to the clocks. An MRST initializes the internal burst
counters to zero, and the counter mask registers to all ones
(completely unmasked). MRST also forces the Mailbox Interrupt
(INT
MRST
power up.
input LOW. The MRST input can switch asynchro-
) flags and the Counter Interrupt (CNTINT) flags HIGH.
must be performed on the FLEx36 family devices after
Mailbox Interrupts
The upper two memory locations may be used for message
passing and permit communications between ports. Ta b le 2
shows the interrupt operation for both ports of CYD18S36V. The
highest memory location, 7FFFF is the mailbox for the right port
and 7FFFE is the mailbox for the left port. Table 2 shows that to
set the INT
7FFFF asserts INT
Write to generate an interrupt. A valid Read of the 7FFFF
location by the right port resets INTR HIGH. At least one byte
must be active in order for a Read to reset the interrupt. When
one port Writes to the other port’s mailbox, the INT of the port
that the mailbox belongs to is asserted LOW. The INT
when the owner (port) of the mailbox Reads the contents of the
mailbox. The interrupt flag is set in a flow-thru mode (i.e., it
follows the clock edge of the writing port). Also, the flag is reset
in a flow-thru 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. And each port can write to its own mailbox without
setting the interrupt. If an application does not require message
passing, INT
Table 2. Interrupt Operation Example
flag, a Write operation by the left port to address
R
LOW. At least one byte must be active for a
R
is reset
pins must be left open.
[1, 14, 15, 16, 17, 18]
Address Counter and Mask Register
Operations
This section describes the features only apply to 1Mbit, 2 Mbit,
4 Mbit and 9 Mbit devices. It does not apply to 18Mbit device.
Each port of these devices has a programmable burst address
counter. The burst counter contains three registers: a counter
register, a mask register, and a mirror register.
The counter register contains the address used to access the
RAM array. It is changed only by the Counter Load, Increment,
Counter Reset, and by master reset (MRST
The mask register value affects the Increment and Counter
Reset operations by preventing the corresponding bits of the
counter register from changing. It also affects the counter
interrupt output (CNTINT
the Mask Load and Mask Reset operations, and by the MRST
The mask register defines the counting range of the counter
register. It divides the counter register into two regions: zero or
more “0s” in the most significant bits define the masked region,
one or more “1s” in the least significant bits define the unmasked
region. Bit 0 may also be “0,” masking the least significant
counter bit and causing the counter to increment by two instead
of one.l
The mirror register is used to reload the counter register on
increment operations (see “retransmit,” below). It always
contains the value last loaded into the counter register, and is
changed only by the Counter Load, and Counter Reset operations, and by the MRST
Table 3 on page 6 summarizes the operation of these registers
and the required input control signals. The MRST
is asynchronous. All the other control signals in Ta b l e 3 on page
6 (CNT/MSK, CNTRST, ADS, CNTEN) are synchronized to the
port’s CLK. All these counter and mask operations are
independent of the port’s chip enable inputs (CE0 and CE1).
[19]
) operations.
). The mask register is changed only by
.
control signal
.
Function
R/W
CE
L
Left PortRight Port
L
A
0L–18L
INT
R/W
L
CE
R
R
A
0R–18R
INT
R
Set Right INTR FlagLL7FFFFXXXXL
Reset Right INT
Set Left INT
Reset Left INT
Notes
13. This family of Dual-Ports does not use V
Please contact local Cypress FAE for more information.
is internal signal. CE = LOW if CE0 = LOW and CE1 = HIGH. For a single Read operation, CE only needs to be asserted once at the rising edge of the CLK and
14. CE
can be deasserted after that. Data is out after the following CLK edge and is three-stated after the next CLK edge.
is “Don’t Care” for mailbox operation.
15. OE
16. At least one of BE0
17. A17x is a NC for CYD04S36V, therefore the Interrupt Addresses are 1FFFF and 1FFFE. A17x and A16x are NC for CYD02S36V/36VA, therefore the Interrupt Addresses
are FFFF and FFFE; A17x, A16x and A15x are NC for CYD01S36V, therefore the Interrupt Addresses are 7FFF and 7FFE.
18. “X” = “Don’t Care,” “H” = HIGH, “L” = LOW.
19. This section describes the CYD09S36V, CYD04S36V, CYD02S36V/36VA, and CYD01S36V which have 18, 17, 16 and 15 address bits.
Document Number: 38-06076 Rev. *GPage 5 of 28
FlagXXXXHL7FFFFH
R
FlagXXXLLL7FFF EX
L
FlagHL7FFFEHXXXX
L
, and these pins are internally NC. The next generation Dual-Port family, the FLEx36-E™, uses V
CORE
, BE1, BE2, or BE3 must be LOW.
of 1.5V or 1.8V.
CORE
[+] Feedback
CYD01S36V
CYD02S36V/36VA/CYD04S36V
CYD09S36V/CYD18S36V
Counter enable (CNTEN
operation of the address input and use the internal address
generated by the internal counter for fast, interleaved memory
applications. A port’s burst counter is loaded when the port’s
address strobe (ADS) and CNTEN signals are LOW. When the
port’s CNTEN
address counter increments on each LOW to HIGH transition of
that port’s clock signal. This Read’s or Write’s one word from/into
each successive address location until CNTEN
The counter can address the entire memory array, and loops
back to the start. Counter reset (CNTRST
unmasked portion of the burst counter to 0s. A counter-mask
register is used to control the counter wrap.
Table 3. Address Counter and Counter-Mask Register Control Operation (Any Port)
CLKMRSTCNT/MSKCNTRSTADSCNTENOperationDescription
XLXXXXMaster ResetReset address counter to all 0s and mask
is asserted and the ADS is deasserted, the
HHLXXCounter ResetReset counter unmasked portion to all 0s.
) inputs are provided to stall the
is deasserted.
) is used to reset the
Counter Reset Operation
All unmasked bits of the counter and mirror registers are reset to
“0.” All masked bits remain unchanged. A Mask Reset followed
by a Counter Reset resets the counter and mirror registers to
00000, as does master reset (MRST
).
Counter Load Operation
The address counter and mirror registers are both loaded with
the address value presented at the address lines.
[18, 20]
register to all 1s.
HHHLLCounter LoadLoad counter with external address value
HHHLHCounter ReadbackRead out counter internal value on address
HHHHHCounter HoldConstantly hold the address value for multiple
HLLXXMask ResetReset mask register to all 1s.
HLHLLMask LoadLoad mask register with value presented on
HLHLHMask ReadbackRead out mask register value on address
HLHHXReservedOperation undefined
presented on address lines.
lines.
clock cycles.
the address lines.
lines.
Note
20. Counter operation and mask register operation is independent of chip enables.
Document Number: 38-06076 Rev. *GPage 6 of 28
[+] Feedback
CYD01S36V
CYD02S36V/36VA/CYD04S36V
CYD09S36V/CYD18S36V
Counter Increment Operation
Once the address counter register is initially loaded with an
external address, the counter can internally increment the
address value, potentially addressing the entire memory array.
Only the unmasked bits of the counter register are incremented.
The corresponding bit in the mask register must be a “1” for a
counter bit to change. The counter register is incremented by 1
if the least significant bit is unmasked, and by 2 if it is masked. If
all unmasked bits are “1,” the next increment wraps the counter
back to the initially loaded value. If an Increment results in all the
unmasked bits of the counter being “1s,” a counter interrupt flag
(CNTINT
register to its initial value, which was stored in the mirror register.
The counter address can instead be forced to loop to 00000 by
externally connecting CNTINT
results in one or more of the unmasked bits of the counter being
“0” de-asserts the counter interrupt flag. The example in Figure
3 on page 9shows the counter mask register loaded with a mask
value of 0003Fh unmasking the first 6 bits with bit “0” as the LSB
and bit “16” as the MSB. The maximum value the mask register
can be loaded with is 3FFFFh. Setting the mask register to this
value allows the counter to access the entire memory space. The
address counter is then loaded with an initial value of 8h. The
base address bits (in this case, the 6th address through the 16th
address) are loaded with an address value but do not increment
once the counter is configured for increment operation. The
counter address starts at address 8h. The counter increments its
internal address value till it reaches the mask register value of
3Fh. The counter wraps around the memory block to location 8h
at the next count. CNTINT
its maximum value.
) is asserted. The next Increment returns the counter
to CNTRST.
is issued when the counter reaches
[21]
An increment that
Counter Hold Operation
The value of all three registers can be constantly maintained
unchanged for an unlimited number of clock cycles. Such
operation is useful in applications where wait states are needed,
or when address is available a few cycles ahead of data in a
shared bus interface.
Counter Interrupt
The counter interrupt (CNTINT) is asserted LOW when an
increment operation results in the unmasked portion of the
counter register being all “1s.” It is deasserted HIGH when an
Increment operation results in any other value. It is also
de-asserted by Counter Reset, Counter Load, Mask Reset and
Mask Load operations, and by MRST
.
Counter Readback Operation
The internal value of the counter register can be read out on the
address lines. Readback is pipelined; the address is valid t
CA2
after the next rising edge of the port’s clock. If address readback
occurs while the port is enabled (CE0
data lines (DQs) are three-stated. Figure 2 on page 8 shows a
block diagram of the operation.
LOW and CE1 HIGH), the
Retransmit
Retransmit is a feature that allows the Read of a block of memory
more than once without the need to reload the initial address.
This eliminates the need for external logic to store and route
data. It also reduces the complexity of the system design and
saves board space. An internal “mirror register” is used to store
the initially loaded address counter value. When the counter
unmasked portion reaches its maximum value set by the mask
register, it wraps back to the initial value stored in this “mirror
register.” If the counter is continuously configured in increment
mode, it increments again to its maximum value and wraps back
to the value initially stored into the “mirror register.” Thus, the
repeated access of the same data is allowed without the need
for any external logic.
Mask Reset Operation
The mask register is reset to all “1s,” which unmasks every bit of
the counter. Master reset (MRST
to all “1s.”
) also resets the mask register
Mask Load Operation
The mask register is loaded with the address value presented at
the address lines. Not all values permit correct increment operations. Permitted values are of the form 2
most significant bit to the least significant bit, permitted values
have zero or more “0s,” one or more “1s,” or one “0.” Thus
7FFFF, 003FE, and 00001 are permitted values, but 7F0FF,
003FC, and 00000 are not.
n
– 1 or 2n – 2. From the
Mask Readback Operation
The internal value of the mask register can be read out on the
address lines. Readback is pipelined; the address is valid t
after the next rising edge of the port’s clock. If mask readback
occurs while the port is enabled (CE0
data lines (DQs) are three-stated. Figure 2 on page 8 shows a
block diagram of the operation.
LOW and CE1 HIGH), the
CM2
Counting by Two
When the least significant bit of the mask register is “0,” the
counter increments by two. This may be used to connect the x36
devices as a 72-bit single port SRAM in which 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 72-bit data in even memory locations, and the
other half in odd memory locations.
Note
21. CNTINT
Document Number: 38-06076 Rev. *GPage 7 of 28
and CNTRST specs are guaranteed by design to operate properly at speed grade operating frequency when tied together.
[+] Feedback
CYD01S36V
CYD02S36V/36VA/CYD04S36V
CYD09S36V/CYD18S36V
From
Mask
Register
MirrorCounter
Address
Decode
RAM
Array
Wrap
1
0
Increment
Logic
1
0
+1
+2
1
0
Wrap
Detect
From
Mask
From
Counter
To
Counter
Bit 0
Wrap
Figure 2. Counter, Mask, and Mirror Logic Block Diagram
Boundary Scan Hierarchy for 9-Mbit and 18-Mbit
Devices
The FLEx36 family devices incorporate an IEEE 1149.1 serial
boundary scan test access port (TAP). The TAP controller
functions in a manner that does not conflict with the operation of
other devices using 1149.1-compliant TAPs. The TAP operates
using JEDEC-standard 3.3V IO logic levels. It is composed of
three input connections and one output connection required by
the test logic defined by the standard.
Performing a TAP Reset
A reset is performed by forcing TMS HIGH (VDD) for five rising
edges of TCK. This reset does not affect the operation of the
devices, and may be performed while the device is operating. An
MRST
must be performed on the devices after power up.
Performing a Pause/Restart
When a SHIFT-DR PAUSE-DR SHIFT-DR is performed the scan
chain outputs the next bit in the chain twice. For example, if the
value expected from the chain is 1010101, the device outputs a
11010101. This extra bit causes some testers to report an
erroneous failure for the devices in a scan test. Therefore the
tester must be configured to never enter the PAUSE-DR state.
Notes
22. The “X” in this diagram represents the counter upper bits.
23. Boundary scan is IEEE 1149.1-compatible. See “Performing a Pause/Restart” for deviation from strict 1149.1 compliance.
Document Number: 38-06076 Rev. *GPage 9 of 28
Internally, the devices have multiple DIEs. Each DIE contains all
the circuitry required to support boundary scan testing. The
circuitry includes the TAP, TAP controller, instruction register,
and data registers. The circuity and operation of the DIE
boundary scan are described in detail below.
The scan chain for 9-Mbit and 18-Mbit devices uses a hierarchical approach as shown in Figure 4 on page 10 and Figure 5
on page 10. TMS and TCK are connected in parallel to each DIE
to drive all 2- or 4-TAP controllers in unison. In many cases, each
DIE is supplied with the same instruction. In other cases, it might
be useful to supply different instructions to each DIE. One
example would be testing the device ID of one DIE while
bypassing the rest.
Each pin of the devices is typically connected to multiple DIEs.
For connectivity testing with the EXTEST instruction, it is
desirable to check the internal connections between DIEs and
the external connections to the package. This can be accomplished by merging the netlist of the devices with the netlist of the
user’s circuit board. To facilitate boundary scan testing of the
devices, Cypress provides the BSDL file for each DIE, the
internal netlist of the device, and a description of the device scan
chain. The user can use these materials to easily integrate the
devices into the board’s boundary scan environment. Further
information can be found in the Cypress application note Using
JTAG Boundary Scan For System in a Package (SIP) Dual-Port
SRAMs.
[+] Feedback
Loading...
+ 19 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.