CY7C138AV/144AV/006AV
CY7C139AV/145AV/016AV
CY7C007AV/017AV
Document #: 38-06051 Rev. *A
Page 16 of 20
Table 1. Non-Contending Read/Write
Inputs
Outputs
CE
R/W
OE
SEM
I/O0–I/O8
Operation
H
X
H
High Z
Deselected: Power-Down
H
L
Data Out
Read Data in Semaphore Flag
X
H
X
High Z
I/O Lines Disabled
H
X
L
Data In
Write into Semaphore Flag
L
H
L
H
Data Out
Read
L
X
H
Data In
Write
L
X
L
Not Allowed
Table 2. Interrupt Operation Example (assumes BUSYL=BUSYR=HIGH)
Left Port
Right Port
Function
R/WL
CEL
OEL
A0L–14L
INTL
R/WR
CER
OER
A0R–14R
INTR
Set Right INTR Flag
L
X
FFF[45]
X
L[46]
Reset Right INTR Flag
X
L
FFF[45]
H[47]
Set Left INTL Flag
X
L[47]
L
X
1FFE[45]
X
Reset Left INTL Flag
X
L
1FFE[45]
H[46]
X
Table 3. Semaphore Operation Example
Function
I/O0–I/O8 Left
I/O0–I/O8 Right
Status
No action
1
Semaphore free
Left port writes 0 to semaphore
0
1
Left Port has semaphore token
Right port writes 0 to semaphore
0
1
No change. Right side has no write access to semaphore
Left port writes 1 to semaphore
1
0
Right port obtains semaphore token
Left port writes 0 to semaphore
1
0
No change. Left port has no write access to semaphore
Right port writes 1 to semaphore
0
1
Left port obtains semaphore token
Left port writes 1 to semaphore
1
Semaphore free
Right port writes 0 to semaphore
1
0
Right port has semaphore token
Right port writes 1 to semaphore
1
Semaphore free
Left port writes 0 to semaphore
0
1
Left port has semaphore token
Left port writes 1 to semaphore
1
Semaphore free
Note:
45. See Functional Description for specific addresses by device part number.
46. If BUSYL = L, then no change.
47. If BUSYR = L, then no change.