© 2003 High Bandwidth Access, Inc. All rights reserved. Product
specifications subject to change without notice.
HDV2
6
PRELIMINARY
A
DP II
SRAM
3HD163A
Page 1 of 1
7
o
3.3 Volt x16 Asynchronous Dual-Port Static RAM
Memory Configuration Device
16K x 16 HDV26
Key Features:
Industry leading Dual-Port Static RAM
Low power operation
Simultaneous memory access through two ports
LVTTL compatible; 3.3V power supply
Easily expands bus width to 32 bits or more using the MASTER/SLAVE select function
Supports Semaphore, Busy Logic, and on-chip port arbitration logic
Available package: 84-pin Plastic Lead Chip Carrier (PLCC)
(0°C to 70°C) Commercial operating temperature available for access time of 15ns and above
(-40°C to 85°C) Industrial operating temperature available for access time of 25ns
Pin-to-pin compatible with conventional dual-port devices including IDT (70V26)
Product Description:
HBA’s Asynchronous Dual-Port (ADP) II Static RAM offers industry leading 0.25um process technology and 16K x 16 memory
configuration. The device supports two memory ports with independent control, address, and I/O pins that enable simultaneous,
asynchronous access to any location in memory. System designers have full flexibility of implementing deeper and wider
memory using the depth and width expansion features.
The HDV26 is a stand alone 16K x 16 Asynchronous Dual-Port SRAM. For applications using buses of 32 bits or wider, the
MASTER/SLAVE configuration can provide bus width expansion without additional discrete logic. Dual-chip depth expansion
can easily be done without external logic as well.
These devices have low power consumption, hence minimizing system power requirements. They are ideal for applications such
as data communication, telecommunication, multiprocessing, test equipment, network switching, etc.
© 2003 High Bandwidth Access, Inc. All rights reserved. Product
specifications subject to change without notice.
HDV2
6
PRELIMINARY
A
DP II
SRAM
3HD163A
Page
2
of 1
7
LB
CE
OE
SRAM
Arbitration
Semaphore
Logic
Block Diagram of Dual Port Static RAM
16K x 16
I/O
Control
Address
Decoder
I/O
Control
Address
Decoder
BUSY
SE M
WR/
UB
LB
CE
SM/
I/O
8-15
I/O 0-7
A13
A0
BUSY
SE M
WR/
UB
OE
CE
I/O
8-15
I/O 0-7
A13
A0
CE
L
L
L
L
L
L
L
L
L
R
R
R
R
R
R
R
R
R
L
L
LR
R
R
(1 ,2 ) (1 ,2 )
NOTES:
1. Master: BUSY
___________
is output; Slave: BUSY
___________
is input.
2. BUSY
___________
outputs are non-tri-stated push-pull.
Figure 1. Device Architecture
© 2003 High Bandwidth Access, Inc. All rights reserved. Product
specifications subject to change without notice.
HDV2
6
PRELIMINARY
A
DP II
SRAM
3HD163A
Page
3
of 1
7
Figure 2. Device Pin-Out
I/O4L
I/O2L
I/O1L
GND
I/O0L
OER
R/WR
GND
SEMR
CER
LBR
GND
I/O11R
I/O12R
I/O13R
I/O14R
UBR
I/O15R
I/O10R
I/O9R
A7L
A6L
A5L
A4L
A3L
A2L
A1L
A0L
BUSYL
GND
M/S
BUSYR
A0R
A1R
A2R
I/O9L
I/O10L
I/O11L
I/O12L
I/O13L
GND
I/O14L
I/O15L
VCC
GND
I/O0R
I/O1R
VCC
I/O3R
I/O8L
I/O2R
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48
74
73
72
71
70
69
68
67
66
65
64
63
62
61
60
59
11 10 9 8 7 6 5 4 3 2 1 84 83 82 81 80
Index
PLCC-84
(Drw No: J-03A; Order Code: J)
Top View
I/O7L
I/O6L
I/O5L
I/O3L
OEL
VCC
R/WL
SEML
CEL
UBL
LBL
A8L
I/O4R
I/O5R
I/O6R
I/O7R
I/O8R
28
29
30
31
32
49 50 51 52 53
A12R
A11R
A10R
A9R
A8R
58
57
56
55
54
A3R
A4R
A5R
A6R
A7R
A12L
A11L
A10L
A9L
79 78 77 76 75
A13L
A13R
© 2003 High Bandwidth Access, Inc. All rights reserved. Product
specifications subject to change without notice.
HDV2
6
PRELIMINARY
A
DP II
SRAM
3HD163A
Page 4 of 1
7
Table 1. Pin Descriptions
Left Port Right Port Name
CE
_____
L CE
_____
R Chip Enable
R/W
____
L R/W
____
R Read / Write Enable
OE
_____
L OE
_____
R Output Enable
A0L-13L A
0R-13R Address
I/O15L – 0L I/O15R – 0R Data Inputs / Outputs
SEM
________
L SEM
________
R Semaphore Enable
UB
______
L UB
______
R Upper Byte Select
LB
_____
L LB
_____
R Lower Byte Select
BUSY
__________
L BUSY
__________
R Busy Flag
M/S
___
Master or Slave Select
Vcc Power
GND Ground
NOTES:
Absolute Max Ratings are for reference only. Permanent damage to the device may occur if extended
period of operation is outside this range. Standard operation should fall within the Recommended
Operating Conditions.
Table 2. Absolute Maximum Ratings
Symbol Rating Com & Ind Unit
VTERM Terminal Voltage with
respect to GND -0.5 to + 4.6 V
TBIAS Temperature Under Bias -55 to +125 °C
TSTG Storage Temperature -65 to +150 °C
IOUT DC Output Current 50 mA
Commercial Temperature Industrial Temperature
Symbol Parameter Min. Typ. Max. Min. Typ. Max.
Unit
Recommended Operating Conditions
VCC Supply Voltage Com’l/Ind’l 3.0 3.3 3.6 3.0 3.3 3.6 V
GND Supply Voltage 0 0 0 0 0 0 V
VIH Input High Voltage Com’l/Ind’l 2.0 - - 2.0 - - V
VIL Input Low Voltage Com’l/Ind’l - - 0.8 - - 0.8 V
TA Operating Temperature 0 - 70 -40 - 85 °C
DC Electrical Characteristics
ILI(1) Input Leakage Current (any input) - - 5 - - 5 µA
ILO Output Leakage Current - - 5 - - 5 µA
VOH Output Logic “1” Voltage, IOH=-4mA 2.4 - - 2.4 - - V
VOL Output Logic “0” Voltage, IOL = 4mA - - 0.4 - - 0.4 V
Capacitance at 1.0MHz Ambient Temperature (25°C)
Symbol Parameter Conditions(3) Max. Unit
CIN(2) Input Capacitance VIN= 3dV 9 pF
COUT(2) Output Capacitance VOUT= 3dV 10 pF
NOTES:
1. At Vcc < 2.0V, input leakage is undefined.
2. This parameter is determined by device characterization but is not production tested.
3. 3dV represents the interpolated capacitance when input and output signals switch from 0V to 3V or from 3V to 0V.
© 2003 High Bandwidth Access, Inc. All rights reserved. Product
specifications subject to change without notice.
HDV2
6
PRELIMINARY
A
DP II
SRAM
3HD163A
Page 5 of 1
7
Power Consumption
HDV26L15 HDV26L25 HDV26L35
Symbol Parameter Conditions Temp
Typ. Max. Typ. Max. Typ. Max.
Unit
C 120 180 100 140 90 120
ICC
Dynamic
Operating
Current (Both
Ports Active)
CE
_____
= VIL, Outputs
Disabled, SEM
________
= VIH,
f=fMAX (1) I - - 125 185 - -
mA
C 12 24 12 24 10 24
ISB1
Standby Current
(Both Ports –
TTL Level
Inputs)
CE
_____
L = CE
_____
R = VIH,
SEM
________
R = SEM
________
L = VIH,
f=fMAX (1) I - - 30 50 - -
mA
C 75 110 50 85 45 75
ISB2
Standby Current
(One Port – TTL
Level Inputs)
CE
_____
A = VIL and CE
_____
B =
VIH
Active Port Outputs
Disabled, f=fMAX (1) I - - 75 105 - -
mA
C 0.2 3.0 0.2 3.0 0.2 3.0
ISB3
Full Standby
Current (Both
Ports – All
CMOS Level
Inputs)
Both Ports CE
_____
L and
CE
_____
R > Vcc – 0.2V,
VIN > Vcc – 0.2V or
VIN < 0.2V, f = 0 (2),
SEM
________
R = SEM
________
L > Vcc
– 0.2V
I - - 0.2 3.0 - -
mA
C 80 100 60 80 55 74
ISB4
Standby Current
(One Port – All
CMOS Level
Inputs)
CE
_____
A < 0.2V and CE
_____
B
> Vcc – 0.2V, SEM
________
R
= SEM
________
L > Vcc –
0.2V, Active Port
Outputs Disabled,
f=fMAX (1)
I - - 70 90 - -
mA
NOTES:
1. At f = fMAX, address and I/O’s are cycling at the maximum frequency read cycle of 1/tRC, and using “AC Test Conditions” of input levels of GND to 3V.
2. f = 0: no control and address bits change.
© 2003 High Bandwidth Access, Inc. All rights reserved. Product
specifications subject to change without notice.
HDV2
6
PRELIMINARY
A
DP II
SRAM
3HD163A
Page 6 of 1
7
Commercial & Industrial
HDV26-15 HDV26-25 HDV26-35
Symbol Parameter Min. Max. Min. Max. Min. Max. Unit
Read Cycle
tRC Read Cycle Time 15 - 25 - 35 - ns
tAA Address Access Time - 15 - 25 - 35 ns
tACE Chip Enable Access Time (3) - 15 - 25 - 35 ns
tABE Byte Enable Access Time (3) - 15 - 25 - 35 ns
tAOE Output Enable Access Time (3) - 10 - 15 - 20 ns
tOH Output Hold from Address Change 3 - 3 - 3 - ns
tLZ Output Low-Z Time (1,2) 3 - 3 - 3 - ns
tHZ Output High-Z Time (1,2) - 10 - 15 - 20 ns
tPU Chip Enable to Power Up Time (1,2) 0 - 0 - 0 - ns
tPD Chip Disable to Power Down Time (1,2) - 15 - 25 - 35 ns
tSOP Semaphore Flag Update Pulse 10 - 15 - 15 - ns
tSAA Semaphore Address Access Time (3) - 25 - 35 - 45 ns
Write Cycle
tWC Write Cycle Time 15 - 25 - 35 - ns
tEW Chip Enable to End-of-Write (3) 12 - 20 - 25 - ns
tAW Address Valid to End-of-Write 12 - 20 - 25 - ns
tAS Address Set-up Time (3) 0 - 0 - 0 - ns
tWP Write Pulse Width 12 - 20 - 25 - ns
tWR Write Recovery Time 0 - 0 - 0 - ns
tDW Data Valid to End-of-Write 10 - 15 - 20 - ns
tHZ Output High-Z Time (1,2) - 10 - 15 - 20 ns
tDH Data Hold Time (4) 0 - 0 - 0 - ns
tWZ Write Enable to Output in High-Z (1,2) - 10 - 15 - 20 ns
tOW Output Active from End-of-Write (1,2,4) 0 - 0 - 0 - ns
tSWRD SEM
________
Flag Write to Read Time 5 - 5 - 5 - ns
tSPS SEM
________
Flag Contention Window 5 - 5 - 5 - ns
NOTES:
1. Test conditions defined in Figs. 3 & 4 are used.
2. This parameter is guaranteed, but not tested.
3. To access RAM, CE
______
= VIL, SEM
__________
= VIH. To access semaphore, CE
______
= VIH, SEM
__________
= VIL.
4. The specification for tDH must be met by the device supplying write data to the RAM under all operating conditions. Although tDH and tOW values will
vary over voltage and temperature, the actual tDH will always be smaller than the actual tOW.
Table 3. AC Electrical Characteristics
© 2003 High Bandwidth Access, Inc. All rights reserved. Product
specifications subject to change without notice.
HDV2
6
PRELIMINARY
A
DP II
SRAM
3HD163A
Page
7
of 1
7
Commercial & Industrial
HDV26-15 HDV26-25 HDV26-35
Symbol Parameter Min Max. Min. Max. Min. Max. Unit
BUSY
___________
Timing (M/S
___
= VIH)
tBAA BUSY
__________
Access Time form Address Match - 15 - 25 - 35 ns
tBDA BUSY
__________
Disable Time from Address Not
Matched - 15 - 25 - 35 ns
tBAC BUSY
__________
Access Time from Chip Enable
Low - 15 - 25 - 35 ns
tBDC BUSY
__________
Access Time from Chip Enable
High - 15 - 25 - 35 ns
tAPS Arbitration Priority Set-up Time (2) 5 - 5 - 5 - ns
tBDD BUSY
__________
Disable to Valid Data (3) - 30 - 35 - 40 ns
tWH Write Hold after BUSY
__________
(5) 15 - 20 - 25 - ns
BUSY
___________
Timing (M/S
___
= VIL)
tWB BUSY
__________
Input to Write (4) 0 - 0 - 0 - ns
tWH Write Hold after BUSY
__________
(5) 20 - 25 - 25 - ns
Port-to-Port Delay Timing
tWDD Write Pulse to Data Delay (1) - 55 - 65 - 85 ns
tDDD Write Data Valid to Read Data Delay (1) - 40 - 60 - 80 ns
NOTES:
1. Port-to-port delay through RAM cells from writing port to reading port, refer to “Timing Waveform of Write with Port-to-Port Read and BUSY”.
2. To ensure that the earlier of the two ports wins.
3. tBDD is a calculated parameter and is the greater of 0, tWDD – tWP (actual) or tDDD – tDW (actual).
4. To ensure that the write cycle is inhibited on port “B” during contention with port “A”.
5. To ensure that a write cycle is completed on port “B” after contention on port “A”.
Table 3. AC Electrical Characteristics (Continued)
© 2003 High Bandwidth Access, Inc. All rights reserved. Product
specifications subject to change without notice.
HDV2
6
PRELIMINARY
A
DP II
SRAM
3HD163A
Page 8 of 1
7
Input Pulse Levels GND to 3.0V
Input Rise/Fall Times 3ns
Input Timing Reference Levels 1.5V
Output Reference Levels 1.5V
Output Load Refer to Figs. 3 & 4
Figure 4. Output Test Load
for tLZ, tHZ, tWZ, tOW
*Includes jig and scope capacitances.
Figure 3. AC Output Load
D.U.T.
43530pF
590
3.3V
D.U.T.
4355pF*
590
3.3V
BUSY
NOTES:
1. Include jig and scope capacitances
Table 4. AC Test Condition
Inputs(1) Outputs
CE
______
R/W
____
OE
______
UB
______
LB
_____
SEM
_________
I/O8-15 I/O0-7
Mode
H X X X X H High-Z High-Z Deselected: Power-Down
X X X H H H High-Z High-Z Both Bytes Deselected
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
NOTES:
1. A0L-13L A0R-13R.
Table 5. Truth Table – Non-Contention Read/Write Control
Inputs(1) Outputs
CE
______
R/W
____
OE
______
UB
______
LB
_____
SEM
_________
I/O8-15 I/O0-7
Mode
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 I/O0 into Semaphore Flag
X X H H L Data In Data In Write I/O0 into Semaphore Flag
L X X L X L - - Not Allowed
L X X X L L - - Not Allowed
NOTES:
1. There are 8 semaphore flags written to I/O0 and read from all I/Os (I/00-15). These 8 semaphore flags are addressed A0-2.
Table 6. Truth Table – Semaphore Read/Write Control
© 2003 High Bandwidth Access, Inc. All rights reserved. Product
specifications subject to change without notice.
HDV2
6
PRELIMINARY
A
DP II
SRAM
3HD163A
Page
9
of 1
7
Inputs Outputs
CE
______
L CE
______
R A13-0 L, R BUSY
__________
L(1) BUSY
__________
R(1)
Function
X X No Match H H Normal
H X Match H H Normal
X H Match H H Normal
L L Match (2) (2) Write Inhibit(3)
NOTES:
1. When part is configured as master, BUSY
__________
L and BUSY
__________
R are both outputs. When configured as slave, both are inputs and internally inhibits writes. BUSY
__________
outputs
are push-pull, not open drain.
2. If inputs to opposite port were stable prior to address and enable inputs of this port, then “L.” If inputs to the opposite port became stable after the address the enable
inputs of port, then “H.” If tAPS is not met, then either BUSY
__________
L or BUSY
__________
R = LOW. BUSY
__________
L and BUSY
__________
R cannot be LOW simultaneously
3. Writes to one port are internally ignored when its BUSY
__________
outputs are LOW regardless of actual logic level on the pin.
Table 7. Truth Table – Address BUSY
__________
Arbitration
Functions Left D0-15 Right D0-15 Status
No Action 1 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 port 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 1 Semaphore free
Right port writes “0” to semaphore 1 0 Right port has semaphore token
Right port writes “1” to semaphore 1 1 Semaphore free
Left port writes “0” to semaphore 0 1 Left port has semaphore token
Left port writes “1” to semaphore 1 1 Semaphore free
NOTES:
1. Table shows sequence of events for one of the eight semaphores.
2. There are eight semaphore flags (A0-2) written via I/O0 and read from I/O0-15.
3. CE
_____
= VIH, SEM
________
= VIL to access semaphores.
4. Refer to Table 6.
Table 8. Truth Table – Semaphore Procurement Sequence Example
© 2003 High Bandwidth Access, Inc. All rights reserved. Product
specifications subject to change without notice.
HDV2
6
PRELIMINARY
A
DP II
SRAM
3HD163A
Page 1
0
of 1
7
Timing Diagrams
ADDR
tRC
tACE (4)
CE
tAA
Valid Data(4)
R/W
Data Out
BUSYOut
tLZ (1)
tBDD (3,4)
tHZ (2)
tOH
OE
tAOE(4)
UB, LB
tABE(4)
NOTES:
1. tLZ timing is based on which signal is asserted last, CE
______
,OE
______
, UB
______
or L B
______
.
2. tHZ timing is based on which signal is de-asserted first, CE
______
,OE
______
, UB
______
or L B
______
.
3. tBDD is needed only where the opposite port is completing a write operation to the same address. BUSY
_________
has no effect on valid output data.
4. Valid data starts from the last of tAOE, tACE, tAA or tBDD.
Diagram 1. Read Cycles
© 2003 High Bandwidth Access, Inc. All rights reserved. Product
specifications subject to change without notice.
HDV2
6
PRELIMINARY
A
DP II
SRAM
3HD163A
Page 11 of 1
7
ADDR
OE
tWC
tHZ (7)
R/W
Data Out
Data In
(4)
(4)
tAS (6) tWP (2) tWR (3)
tWZ tOW
tDW tDH
tAW
UB, LB
CE, SEM
Diagram 2. Write Cycle No. 1, R/W
____
Controlled Timing
ADDR
tWC
R/W
Data In
tDW
tEW(2)
tAS(6)
tAW
UB, LB
CE, SEM
tWR(3)
Diagram 3. Write Cycle No. 2, CE
_____
Controlled Timing
NOTES:
1. R/W
____
or C E
______
must be HIGH during all address transitions.
2. A write occurs when C E
______
= VIL and R/W
____
= VIL for memory write cycle.
3. tWR timing is from the earlier of C E
______
or R/W
____
going HIGH to the end of write cycle.
4. The I/O pins are in the output state and input signals must not be applied during DATA out period.
5. For C E
______
=VIL transition simultaneously with or after the R/W
____
= VIL transition, the outputs remain in the high-impedance state.
6. tAS timing is based on latter of C E
______
or R/W
____
.
7. tHZ transition is measured 0mV from steady state with the Output Test Load.
8. For OE
_____
=VIL during R/W
____
write cycle, the write pulse width is the larger of tWP or (tWZ + tDW) to allow the I/O drivers to turn off and data to be placed on the bus for the required
tDW. If OE
_____
= VIH during an R/W
____
controlled writing cycle, the write pulse is specified as tWP.
© 2003 High Bandwidth Access, Inc. All rights reserved. Product
specifications subject to change without notice.
HDV2
6
PRELIMINARY
A
DP II
SRAM
3HD163A
Page 1
2
of 1
7
A0-A2
SEM
I/O0
R/W
OE
Valid Address Valid Address
tSAA
tACEtWRtAW
tEW
tSOP
tOH
Data Out Valid (2)
Data In Valid
tDW
tDHtWPtAS
tSWRD tAOE
Write Cycle Read Cycle
NOTES:
1. CE
_____
= VIH or UB
______
and L B
______
= VIH for the duration of the above timing (both write and read cycle).
2. “DATA OUT VALID” represents all I/O’s (I/O0-15) equal to the semaphore value
Diagram 4. Semaphore Read after Write Timing, Either Side
SIDE B
A0B-A2B
R/WB
SEMB
Match
tSPS
A0A-A 2A
R/WA
SEMA
Match
SIDE A
NOTES:
1. DOR = DOL = VIL, CE
_____
L = CE
_____
R =VIH.
2. Timing for both ports is the same. Port B is opposite of port A.
3. This parameter is measured from R/W
____
A or SEM
________
A =VIH to R/W
____
B or SEM
________
B= VIH.
4. The semaphore will be sent to either side if tSPS is not met. It cannot be guaranteed which side receives semaphore.
Diagram 5. Semaphore Write Contention
© 2003 High Bandwidth Access, Inc. All rights reserved. Product
specifications subject to change without notice.
HDV2
6
PRELIMINARY
A
DP II
SRAM
3HD163A
Page 1
3
of 1
7
Match
Valid
BUSYB
R/WA
Data InA
ADDRB
Data OutBValid
ADDRA
tWP
tWC
tDW tDH
tBAA tBDA
tWDD
tBDD
tAPS
(1)
tDDD(3)
Match
NOTES:
1. tAPS is ignored for SLAVE part (M/S
___
= VIL)
2. CE
_____
L =CE
_____
R = VIH.
3. OE
_____
= VIL for the reading port.
4. For SLAVE mode (M/S
___
= VIL), BUSY
___________
is an input.
5. Timing for both ports is the same. Port B is opposite of port A.
Diagram 6. Write with Port-to-Port Read and BUSY
___________
(M/S
__
= VIH)
R/WA
BUSYB
R/WB
tWP
(2)
tWB
(3)
tWH
(1)
NOTES:
1. SLAVE (BUSY
___________
input) and MASTER (BUSY
___________
output) must meet tWH.
2. BUSY
___________
is sent to port B blocking R/W
____
B till BUSY
___________
B=VIH.
3. tWB is for SLAVE mode.
Diagram 7. Write with BUSY
___________
(M/S
__
= VIL)
© 2003 High Bandwidth Access, Inc. All rights reserved. Product
specifications subject to change without notice.
HDV2
6
PRELIMINARY
A
DP II
SRAM
3HD163A
Page 14 of 1
7
ADDRA
and
ADDRB
Addresses Match
CE A
CE B
BUSYB
tAPS
tBAC tBDC
NOTES:
1. If tAPS is not satisfied, the BUSY
___________
signal will be asserted randomly on one side or the other.
Diagram 8. BUSY
___________
Arbitration Controlled by CE
_____
Timing (M/S
__
= VIH)
ADDRA
BUSYB
ADDRB
Addresses N
M atching Address e s N
tBDAtBAA
tAPS (1)
NOTES:
1. If tAPS is not satisfied, the BUSY
___________
signal will be asserted randomly on one side or the other.
Diagram 9. BUSY
___________
Arbitration Controlled by Address Match Timing (M/S
__
= VIH)
© 2003 High Bandwidth Access, Inc. All rights reserved. Product
specifications subject to change without notice.
HDV2
6
PRELIMINARY
A
DP II
SRAM
3HD163A
Page 15 of 1
7
Functional Description
HDV26 supports two memory ports with independent control, address, and I/O pins that enable simultaneous, asynchronous
access to any location in memory.
Busy Logic
When both ports attempt to access the same memory location at the same time, data corruption can potentially occur. In
the single-device or MASTER configuration (i.e. when the M/ S
___
pin is tied HIGH), the on-chip Busy Logic arbitrates
simultaneous accesses to the same memory location, and determines the “winner” between the two ports. If Busy Logic considers
the right port lost in the arbitration, then the right port BUSY
__________
pin is set active (LOW) to signal the system that this memory
location is “busy” being accessed by the other port. Furthermore, the Busy Logic prevents the right port from writing to the same
memory location for as long as the right port BUSY
__________
signal stays active (LOW). Once the left port finishes access to this memory
location, the dual-port SRAM signals the system by setting the right port BUSY
__________
pin back to inactive (HIGH), so that the system
can resume its normal access from the right port. Note that only the write operation from the losing port is inhibited; the read
operation is nondestructive and can thus continue regardless of the arbitration result.
The BUSY
__________
pins are output pins in the single-device or MASTER mode, but become input pins instead when the device
is configured in SLAVE mode (this is accomplished by tying M/ S
___
pin LOW). In SLAVE mode the on-chip arbitration logic is
disabled, and the device relies on the input BUS Y
__________
signals for the results of arbitration when simultaneous access to the same
memory location occurs. Specifically, when a BUSY
__________
pin is set to HIGH, normal operation can be performed from this port, but
when a BUSY
__________
pin is set to LOW, write operations will be inhibited from this port. If width expansion with multiple HBA
HDV26 devices is used, it is recommended that only one of them be configured in MASTER mode, and the rest of them in
SLAVE mode. The BUSY
__________
(output) signal from the master device should be connected to the respective BUSY
__________
(input) pins of
the slave devices. This means that only one device (the master) is performing the Busy Logic arbitration, and all the other devices
(the slaves) will follow this arbitration accordingly. This can prevent the conflicts caused by the potential inconsistent arbitration
results from different dual-port SRAM devices. Note that if the user does not wish the write operation to be inhibited by the Busy
Logic, the user can disable this feature by configuring the device in SLAVE mode and tying the BUSY
__________
input pins to HIGH.
The Busy arbitration logic is triggered whenever the two ports simultaneously attempt to access the same memory
location, where data accesses are determined by the timings and values of the Address and Chip Enable signals only, not by the
value of the R/ W
____
signal. This means that both read and write operations can trigger the Busy Logic, even though only the write
operation is inhibited from the losing port. Note that in a master/slave configuration, an additional timing constraint concerning
the R/ W
____
signal needs to be met in order to prevent data corruption in the slave device: the write operation in the slave device
cannot start before the BUSY
__________
signal – which originates from the output BUSY
__________
pin – is received by the slave device to ensure
write inhibition. In other words, the R/ W
____
signal needs to stay high from the time the Busy Logic on the master device is
triggered (through the changing of the Address and Chip Enable signals) till the BUSY
__________
signal is received by the slave device.
Semaphores
A semaphore can be considered as a special one-bit dual-port memory cell that can be “owned” by (or granted to) only
one port at any given time. Typically a semaphore is used as an arbiter for the exclusive ownership (or access privilege) of any
shared resource in a system. A semaphore ownership can be requested by writing a zero “0” to the semaphore; a semaphore
ownership can be relinquished by writing a one “1” to the semaphore; and a semaphore ownership can be tested by reading from
the semaphore – a readout of zero “0” means that the semaphore is owned by this port, while a readout of one “1” means that
either the semaphore is owned by the other port, or there is no owner at all. A token-passing system can be used to conceptualize
the semaphore mechanism: requesting for the semaphore ownership is equivalent to requesting for the token, and relinquishing
the semaphore ownership is equivalent to releasing the token. HBA HDV26 device provides eight addressable semaphores in
addition to the regular 64Kx16 dual-port memory space.
A typical sequence of accessing a semaphore is as follows: first a port attempts to request for the token by writing a
zero “0” to the semaphore. The result of the request is then tested by reading from the semaphore: if the readout is zero “0”, then
the token request has succeeded; but if the readout is one “1”, then the token request has failed. The requester should then try to
repeatedly read from the semaphore until the readout becomes zero “0”, upon which time the requester becomes the new
possessor of the token, and can be granted exclusive access privilege to the shared resource the semaphore represents. In the case
when both ports request for the token at the same time, the semaphore logic ensures that only one port is granted the token. In
other words, at most one of the two semaphore readout ports can assume the value of zero “0”. When the token is not owned by
© 2003 High Bandwidth Access, Inc. All rights reserved. Product
specifications subject to change without notice.
HDV2
6
PRELIMINARY
A
DP II
SRAM
3HD163A
Page 16 of 1
7
any port, the semaphore will appear to contain the value one “1” to both ports. Note that a failed token request becomes an
outstanding token request, and will remain valid until either the other port releases the token (which means the requester now
becomes the new possessor of the token), or when the outstanding request is withdrawn by writing a one “1” to the semaphore
before the other port releases the token.
Semaphore accesses are distinguished from the regular memory access through the use of the semaphore select (SEM
________
)
signal: SEM
________
should remain HIGH when the regular dual-port memory is being accessed, but should be tied LOW when
semaphores are being accessed. Other control signals such as C E
_____
, and R/ W
____
behave identically in both cases. Address pins A0 to
A2 are used to address the eight semaphore flags (the values of the other address pins are irrelevant to semaphores). Only data
pin D0 is used when writing to a semaphore. However, when reading from a semaphore, the one-bit semaphore value will be
duplicated on all data pins (D0-D15). Note that the semaphore logic is not automatically initialized during power up. The system
has to handle the initialization of the semaphores during power up by writing ones from both sides to all semaphores to ensure
their availabilities for future use.
As discussed previously, semaphores are typically used to resolve contentions of shared resources in a system. These
shared resources can be a common data bus, a bi-directional shared buffer, or even a segment of the dual-port SRAM on an HBA
HDV26 device. Before any component in the system attempts to gain exclusive access to a shared resource, the semaphore can be
used to ensure that no resource contention or data corruption will occur. One advantage in using hardware-supported semaphores
is performance improvement by eliminating the processor wait states. HBA HDV26 semaphores also provide system designers
with higher flexibility because the resource sharing can be managed much more easily. With proper system software support,
semaphores can even replace the Busy arbitration logic in certain cases, albeit with a coarser data granularity.
© 2003 High Bandwidth Access, Inc. All rights reserved. Product
specifications subject to change without notice.
HDV2
6
PRELIMINARY
A
DP II
SRAM
3HD163A
Page 1
7
of 1
7
Order Information:
*
Speed – Slower speeds available upon request.
**Package – 84 pin Plastic Lead Chip Carrier (PLCC)
Temperature – Industrial only offered in 25ns
Example:
HDV26L15J (16K x 16, 15ns, Commercial temp)
USA Taiwan Europe
2107 North First
Street, Suite 415
San Jose, CA 95131,
USA
Tel: 408.453.8885
Fax: 408.453.8886
www.hba.com
No. 81, Suite 8F-9,
Shui-Lee Rd.
Hsinchu, Taiwan,
R.O.C.
Tel: 886.3.516.9118
Fax: 886.3.516.9181
www.hba.com
CDE Technology B.V.
Nijverheidslaan 28
1382 L J Weesp, The
Netherlands
Tel: 31.294.280.914
Fax: 31.294.280.919
www.hba.com
HBA
Device Family
Device Type
Power
Speed (ns)*
Package**
Temperature Range
XX XXX X XX XX X
HD V26 (16K x 16) Low 15 J Blank – Commercial (0°C to 70°C)
25 I – Industrial (-40° to 85°C)
35