Address decoders are used in RAM to select the specific row and column (word line and bit line) that is being read from or written to based on the address bits. An M-bit address decoder is used to select the row and an N-bit address decoder is used to select the column. The address decoders activate the appropriate output line by implementing the Boolean logic expression for that address. For example, a 4-bit address decoder for a RAM with 16 words would activate the output for word 9 if the address bits were A3=1, A2=0, A1=0, A0=1. NMOS transistors are often used to physically implement the complex address decoders.
Address decoders are used in RAM to select the specific row and column (word line and bit line) that is being read from or written to based on the address bits. An M-bit address decoder is used to select the row and an N-bit address decoder is used to select the column. The address decoders activate the appropriate output line by implementing the Boolean logic expression for that address. For example, a 4-bit address decoder for a RAM with 16 words would activate the output for word 9 if the address bits were A3=1, A2=0, A1=0, A0=1. NMOS transistors are often used to physically implement the complex address decoders.
Address decoders are used in RAM to select the specific row and column (word line and bit line) that is being read from or written to based on the address bits. An M-bit address decoder is used to select the row and an N-bit address decoder is used to select the column. The address decoders activate the appropriate output line by implementing the Boolean logic expression for that address. For example, a 4-bit address decoder for a RAM with 16 words would activate the output for word 9 if the address bits were A3=1, A2=0, A1=0, A0=1. NMOS transistors are often used to physically implement the complex address decoders.
11/21/2004 section 11_5 Sense Amplifiers and Address Decoders blank 1/1
Jim Stiles The Univ. of Kansas Dept. of EECS
11.5 Sense Amplifiers and Address Decoders
Reading Assignment: pp. 1038-1046
In addition to memory cells, RAM must likewise implement two other kinds of circuitry:
1. Sense Amplifiers
2. Address Decoders
Sense Amplifiers
Address Decoders
HO: Address Decoders
11/21/2004 Address Decoders 1/3 Jim Stiles The Univ. of Kansas Dept. of EECS Address Decoders
We need some way of enabling (i.e., selecting) the row and column (i.e., word line and bit line) that we are interested in reading from, or writing to.
Recall if there are 2 M words in a computer memory, then each row can be specified with an M-bit address.
Likewise, if there are 2 N bits in a computer memory, then each column can be specified with an N-bit address.
Thus, we need some way of constructing an M-bit row decoder, as well as an N-bit row decoder.
The logic expression is straightforwardwe wish to enable output line Y n (or Y m ) if and only if the address bits A 0 , A 1 , A 2 , A 3 , ... have the proper value.
Example:
Consider a small amount of RAM memory consisting of just 16 memory words. Thus, each word can be specified with only an M=4 bit address (i.e., 2 4 =16).
11/21/2004 Address Decoders 2/3 Jim Stiles The Univ. of Kansas Dept. of EECS Say we wish to build an address decoder to select word 9 (i.e., set Y 9 =1) if, and only if, the address is a binary 9, i.e.:
3 2 1 0 1 0 0 1 A , A , A , A = = = =
Thus, the Boolean Logic description of this decoder is:
9 3 2 1 0 Y A A A A =
Likewise, for other word enable lines:
0 3 2 1 0 1 3 2 1 0 2 3 2 1 0 15 3 2 1 0 Y A A A A Y A A A A Y A A A A Y A A A A = = = =
Q: Hey! Dont we know how to build logic circuits to realize these Boolean expressions?
A: Yup! We learned how to do this in section 10.3. Often, address decoders are complex enough that we choose to use NMOS technology to design them. 11/21/2004 Address Decoders 3/3 Jim Stiles The Univ. of Kansas Dept. of EECS
We must construct one of these decoders for each and every word line and bit line (i.e., row and column). In other words, we must construct 2 M row decoders, and 2 N bit column decoders. Y 9
3 A V DD
2 A 1 A 0 A NMOS Address Decoder for word line 9 (of 16).