Professional Documents
Culture Documents
•Memory Cell
•Register
•Memory chip
Input data
Output Signal
–Output
Enable
Signal
1 1
1
1 1
I0 I1 I2 I3
WR
D D D D
Q Q Q Q
EN EN EN EN
EN
RD O0 O1 O2 O3
input
Write Enable
EN
EN
EN
EN
Address lines
1
EN
EN
0 EN
EN
1
EN
EN
0 EN
EN
Since we have tri-state buffers on both the inputs and outputs of the flip
flops, we can actually use one set of pins only.
– The chip would now look like this:
A D Memory Reg. 0 D0 D0
d e
A1 d c Memory Reg. 1 D1 A1 D1
r o
e d Memory Reg. 2 D2 D2
A0 A0
s e Memory Reg. 3
s r D3 D3
RD Output Buffers
RD WR
١٢ prepared by : Maher Al-omari
How to find the number of address lines
needed for a memory chip
CS RD WR 00
0000 0000
Lines
Address
A7
256x8
Ao The size of each
register is 8 bits
EN
EN
EN
CS EN
EN
A3 A2 A1 A0 CS RD WR
0 0 M1
0011 R3
Address
range A1 0010 R2
A0 0001 R1
0000 R0
A3 A2 A1 A0 CS RD WR
1 0 M2
1011 R11
A1
1010 R10
A0 1001 R9
1000 R8
CS RD WR CS RD WR CS RD WR CS RD WR
Address Lines
Address Lines
Address Lines
Address Lines
A7 A7 A7 A7
256x8 256x8 256x8 256x8
Ao Ao Ao Ao
Address range
١٨ prepared by : Maher Al-omari
for each chip ?