CYD04S72V
CYD09S72V
CYD18S72V
Document Number : 38-06069 Rev. *M Page 7 of 30
Master Reset
The FLEx72 family devices undergo a complete reset by taking
the MRST
input LOW. MRST input can switch asynchronously to
the clocks. 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) flags
and the Counter Interrupt (CNTINT
) flags HIGH. MRST must be
performed on the FLEx72 family devices after power-up.
Mailbox Interrupts
The upper two memory locations may be used for message
passing and permit communications between ports. Tabl e 2
shows the interrupt operation for both ports using 18 Mbit device
as an example. The highest memory location, 3FFFF
is the
mailbox for the right port and 3FFFE is the mailbox for the left
port. Table 2.shows that in order to set the INT
R
flag, a write
operation by the left port to address 3FFFF will assert INT
R
LOW.
At least one byte has to be active for a write to generate an
interrupt. A valid Read of the 3FFFF location by the right port will
reset INT
R
HIGH. At least one byte has to 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
is reset 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
pins should be left open.
Table 2. Interrupt Operation Example
[22, 23, 24, 25]
Function
Left Port Right Port
R/W
L
CE
L
A
0L–17L
INT
L
R/W
R
CE
R
A
0R–17R
INT
R
Set Right INT
R
FlagLL3FFFFXXXXL
Reset Right INT
R
FlagXXXXHL3FFFFH
Set Left INT
L
Flag X X X L L L 3FFFE X
Reset Left INT
L
FlagHL3FFFEHXXXX
Notes
22. CYD04S72V have 16 address bits, CYD09S72V have 17 address bits and CYD18S72V have 18 bits.
23. CE
is internal signal. CE = LOW if CE
0
= LOW and CE
1
= HIGH. For a single Read operation, CE only needs to be asserted once at the rising edge of the CLK and
can be deasserted after that. Data will be out after the following CLK edge and will be three-stated after the next CLK edge.
24. OE
is “Don’t Care” for mailbox operation.
25. At least one of BE0
or BE7 must be LOW.
CYD04S72V
CYD09S72V
CYD18S72V
Document Number : 38-06069 Rev. *M Page 8 of 30
Address Counter and Mask Register Operations
[28]
This section describes the features only apply to 4 Mbit and 9
Mbit devices, not to 18 Mbit device. Each port has a program-
mable 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) operations.
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 register is changed only by
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.
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 summarizes the operation of these registers and the
required input control signals. The MRST
control signal is
asynchronous. All the other control signals in Table 3
(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).
Counter enable (CNTEN
) inputs are provided to stall the
operation of the address input and utilize 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
is asserted and the ADS is deasserted, the
address counter will increment on each LOW to HIGH transition
of that port’s clock signal. This will Read/Write one word from/into
each successive address location until CNTEN
is deasserted.
The counter can address the entire memory array, and will loop
back to the start. Counter reset (CNTRST
) is used to reset the
unmasked portion of the burst counter to 0s. A counter-mask
register is used to control the counter wrap.
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 will reset the counter and mirror registers to
00000, as will master reset (MRST
).
Counter Load Operation
The address counter and mirror registers are both loaded with
the address value presented at the address lines.
Notes
26. X” = “Don’t Care,” “H” = HIGH, “L” = LOW.
27. Counter operation and mask register operation is independent of chip enables.
28. The CYD04S72V has 16 address bits and a maximum address value of FFFF. The CYD09S72V has 17 address bits and a maximum address value of 1FFFF. The
CYD18S72V has 18 address bits and a maximum address value of 3FFFF.
Table 3. Address Counter and Counter Mask Register Control Operation (Any Port)
[26,27]
CLK MRST CNT/MSK CNTRST ADS CNTEN Operation Description
X L X X X X Master Reset Reset address counter to all 0s and mask register
to all 1s
H H L X X Counter Reset Reset counter unmasked portion to all 0s
H H H L L Counter Load Load counter with external address value presented
on address lines
H H H L H Counter Readback Read out counter internal value on address lines
H H H H L Counter Increment Internally increment address counter value
H H H H H Counter Hold Constantly hold the address value for multiple clock
cycles
H L L X X Mask Reset Reset mask register to all 1s
H L H L L Mask Load Load mask register with value presented on the
address lines
H L H L H Mask Readback Read out mask register value on address lines
H L H H X Reserved Operation undefined
CYD04S72V
CYD09S72V
CYD18S72V
Document Number : 38-06069 Rev. *M Page 9 of 30
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 will wrap 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
) is asserted. The next Increment will
return the counter 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
to CNTRST.
[29]
An increment that results in one or more of the unmasked bits of
the counter being “0” will de-assert the counter interrupt flag. The
example in Figure 2 shows 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 1FFFFh. 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 will start at address 8h. The
counter will increment 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
is issued
when the counter reaches its maximum value.
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 will be valid
t
CA2
after the next rising edge of the port’s clock. If address
readback occurs while the port is enabled (CE0
LOW and CE1
HIGH), the data lines (DQs) will be three-stated. Figure 1 shows
a block diagram of the operation.
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
) also resets the mask register
to all “1s.”
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
n
–1 or 2
n
–2. From
the most significant bit to the least significant bit, permitted
values have zero or more “0s,” one or more “1s,” or one “0.” Thus
1FFFF, 003FE, and 00001 are permitted values, but 1F0FF,
003FC, and 00000 are not.
Mask Readback Operation
The internal value of the mask register can be read out on the
address lines. Readback is pipelined; the address will be valid
t
CM2
after the next rising edge of the port’s clock. If mask
readback occurs while the port is enabled (CE0
LOW and CE1
HIGH), the data lines (DQs) will be three-stated. Figure 1 shows
a block diagram of the operation.
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 x72
devices as a 144-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 144-bit data in even memory locations, and the
other half in odd memory locations.
Note
29. CNTINT
and CNTRST specs are guaranteed by design to operate properly at speed grade operating frequency when tied together.

CYD04S72V-167BBC

Mfr. #:
Manufacturer:
Cypress Semiconductor
Description:
SRAM 4MB (64Kx72) 3.3v 167MHz Sync SRAM
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union

Products related to this Datasheet