Cypress CYDC256B16, CYDC064B16, CYDC064B08, CYDC128B08, CYDC128B16 manual Architecture

Page 7

CYDC256B16, CYDC128B16, CYDC064B16, CYDC128B08, CYDC064B08

When reading a semaphore, all sixteen/eight 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 tSPS of each other, the semaphore will definitely be obtained by one side or the other, but there is no guarantee which side will control the semaphore. On power-up, both ports should write “1” to all eight semaphores.

Architecture

The CYDC256B16, CYDC128B16, CYDC064B16, CYDC128B08, CYDC064B08 consist of an array of 4k, 8k, or 16k words of 16 dual-port RAM cells, I/O and address lines, and control signals (CE, OE, R/W). The CYDC064B08 and

Table 1. Non-Contending Read/Write

CYDC128B08 consist of an array of 8k and 16k words of 8 each of dual-port RAM cells, I/O and address lines, and control signals (CE, OE, R/W).These control pins permit independent access for reads or writes to any location in memory. To handle simultaneous writes/reads to the same location, a BUSY pin is provided 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 devices can function as a master (BUSY pins are outputs) or as a slave (BUSY pins are inputs). The devices also have an automatic 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.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Inputs

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Outputs

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

CE

 

 

 

 

 

R/W

 

 

 

OE

 

 

 

UB

 

 

LB

 

 

SEM

I/O I/O

[11]

I/O I/O

 

 

 

 

 

 

Operation

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

8

15

 

0

7

 

 

 

 

 

 

 

 

 

 

 

 

 

 

H

 

 

 

 

 

 

 

X

 

X

 

 

 

 

X

 

 

X

 

 

H

High Z

 

 

 

 

High Z

 

 

 

 

Deselected: Power-down

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

X

 

 

 

 

 

 

 

X

 

X

 

 

 

 

H

 

 

H

 

 

H

High Z

 

 

 

 

High Z

 

 

 

 

Deselected: Power-down

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

L

 

 

 

 

 

 

 

L

 

X

 

 

 

 

L

 

 

H

 

 

H

Data In

 

 

 

 

High Z

 

 

 

 

Write to Upper Byte Only

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

L

 

 

 

 

 

 

 

L

 

X

 

 

 

 

H

 

 

L

 

 

H

High Z

 

 

 

 

Data In

Write to Lower Byte Only

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

L

 

 

 

 

 

 

 

L

 

X

 

 

 

 

L

 

 

L

 

 

H

Data In

 

 

 

 

Data In

Write to Both Bytes

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

L

 

 

 

 

 

 

 

H

 

L

 

 

 

 

L

 

 

H

 

 

H

Data Out

 

 

 

High Z

 

 

 

 

Read Upper Byte Only

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

L

 

 

 

 

 

 

 

H

 

L

 

 

 

 

H

 

 

L

 

 

H

High Z

 

 

 

 

Data Out

Read Lower Byte Only

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

L

 

 

 

 

 

 

 

H

 

L

 

 

 

 

L

 

 

L

 

 

H

Data Out

 

 

 

Data Out

Read Both Bytes

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

X

 

 

 

 

 

 

 

X

 

H

 

 

 

 

X

 

 

X

 

 

X

High Z

 

 

 

 

High Z

 

 

 

 

Outputs Disabled

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

H

 

 

 

 

 

 

 

H

 

L

 

 

 

 

X

 

 

X

 

 

L

Data Out

 

 

 

Data Out

Read Data in Semaphore Flag

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

X

 

 

 

 

 

 

 

H

 

L

 

 

 

 

H

 

 

H

 

 

L

Data Out

 

 

 

Data Out

Read Data in Semaphore Flag

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

H

 

 

 

 

 

 

 

 

 

 

 

 

 

X

 

 

 

 

X

 

 

X

 

 

L

Data In

 

 

 

 

Data In

Write DIN0 into Semaphore Flag

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

X

 

 

 

 

 

 

 

 

 

 

 

 

 

X

 

 

 

 

H

 

 

H

 

 

L

Data In

 

 

 

 

Data In

Write DIN0 into Semaphore Flag

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

L

 

 

 

 

 

 

 

X

 

X

 

 

 

 

L

 

 

X

 

 

L

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Not Allowed

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

L

 

 

 

 

 

 

 

X

 

X

 

 

 

 

X

 

 

L

 

 

L

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Not Allowed

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Table 2. Interrupt Operation Example (Assumes

 

 

 

L =

 

 

 

R = HIGH)[12]

 

 

 

 

 

 

 

 

 

 

 

 

BUSY

BUSY

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Left Port

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Right Port

 

 

 

 

 

 

Function

 

R/W

L

 

 

CEL

 

 

OEL

 

 

A0L–13L

 

 

 

INTL

R/WR

 

 

CER

 

OER

 

A0R–13R

 

INTR

 

Set Right

 

 

 

 

 

R Flag

 

L

 

 

 

L

 

 

X

 

 

3FFF[15]

 

 

 

X

 

X

 

 

X

 

X

 

X

 

L[14]

 

INT

 

 

 

 

 

 

 

 

 

 

Reset Right

 

 

 

 

R Flag

X

 

 

 

X

 

 

X

 

 

 

 

X

 

 

 

X

 

X

 

 

L

 

L

 

3FFF[15]

 

H[13]

 

INT

 

 

 

 

 

 

 

 

 

 

 

Set Left

 

 

 

 

 

L Flag

 

X

 

 

 

X

 

 

X

 

 

 

 

X

 

 

 

L[13]

 

L

 

 

L

 

X

 

3FFE[15]

 

X

 

INT

 

 

 

 

 

 

 

 

 

 

 

 

Reset Left

 

 

 

 

 

L Flag

 

X

 

 

 

L

 

 

L

 

 

3FFE[15]

 

 

 

H[14]

 

X

 

 

X

 

X

 

X

 

X

 

INT

 

 

 

 

 

 

 

 

 

 

Notes:

11.This column applies to x16 devices only.

12.See Interrupts Functional Description for specific highest memory locations by device.

13.If BUSYR = L, then no change.

14.If BUSYL = L, then no change.

15.See Functional Description for specific addresses by device.

Document #: 001-01638 Rev. *E

Page 7 of 26

[+] Feedback

Image 7
Contents Unit FeaturesSelection Guide for VCC = CYDC256B16, CYDC128B16 CYDC064B16, CYDC128B08 CYDC064B08CYDC256B16, CYDC128B16 Pin Tqfp Top View Pin Configurations 3, 4, 5, 6CYDC064B08 Pin Configurations 7, 8, 9Functional Description Pin DefinitionsInput Read Register InterruptsBusy Master/SlaveArchitecture Semaphore Operation Example Function 0 -I/O 2 -I/O Mode0 -I/O 5 -I/O Mode Input Read Register Operation16Operating Range Electrical Characteristics for V CC =Range Ambient Temperature Maximum Ratings23Standb y Cur rent One Port Cmos Ind Input Leakage CurrentInput LOW Voltage 5V any port 0V any port Output LOW Voltage I OL = 2 mA 5V any port 0V any portODR Output LOW Voltage I OL = 8 mA 5V any port 0V any port Input High Voltage 5V any portParameter Description Test Conditions Max Unit CapacitanceWrite Cycle AC7Test Loads and WaveformsInterrupt Timing Busy TimingSemaphore Timing High after Slave Data Hold From Write End Document # 001-01638 Rev. *E SEM Address Access Time Document # 001-01638 Rev. *E Read Cycle No Either Port36, 38, 41 Switching WaveformsRead Cycle No.1 Either Port Address Access36, 37 Read Cycle No.2 Either Port CE/OE Access36, 39Write Cycle No CE Controlled Timing 41, 42, 43 Semaphore Read After Write Timing, Either Side49 Timing Diagram of Semaphore Contention51Write Timing with Busy Input M/S = LOW Timing Diagram of Read with Busy M/S=HIGH53CER Valid First Busy Timing Diagram No.1 CE Arbitration CEL Valid First54Right Address Valid First Left Side Clears INT L Interrupt Timing Diagrams Left Side Sets INT RRight Side Clears INT R Right Side Sets IntlOrdering Information Pin Thin Plastic Quad Flat Pack Tqfp A100 Package DiagramDocument History Issue Date Orig. Description of Change