A 3 x 8 decoder with two enable inputs is to be used to address 8 bloc...
A 16-bit address space contains 64K addresses.
Since you're using the two msb's for enable inputs, you can select among 4 16K address regions.
Since each of those regions is split into 8 blocks, each block contains 2K addresses.
View all questions of this test
A 3 x 8 decoder with two enable inputs is to be used to address 8 bloc...
Given:
- 3 x 8 decoder with two enable inputs
- 8 blocks of memory
- Addressed from a 16-bit bus with two MSBs used to enable the decoder
To find:
- Size of each memory block
Solution:
First, let's understand the working of a 3 x 8 decoder with two enable inputs.
A 3 x 8 decoder will have 3 inputs (A0, A1, A2) and 8 outputs (Y0 to Y7). Each output will be selected by a unique combination of the input signals. For example, if A0, A1, and A2 are 0, 1, and 1 respectively, then Y6 will be selected.
Now, if we add two enable inputs (E1 and E2) to the decoder, then the outputs will be enabled only when both E1 and E2 are high. Otherwise, all outputs will be disabled.
In our case, we are using the two MSBs of a 16-bit bus to enable the decoder. This means that the decoder will be enabled only when the MSBs are both high.
Since we have 8 blocks of memory, we need 8 outputs from the decoder to address them. This can be achieved by connecting the 3 inputs (A0, A1, A2) to the lower 3 bits of the bus and using the upper 2 bits of the bus as enable inputs (E1 and E2).
The size of each memory block can be calculated as follows:
- With 3 inputs (A0, A1, A2), we can address 2^3 = 8 locations in each block.
- Since we have 8 blocks of memory, the total number of locations is 8 x 8 = 64.
- However, we are using only the two MSBs of the bus to enable the decoder. This means that the decoder will be enabled only for 2^2 = 4 locations.
- Therefore, each memory block will have a size of 64 / 4 = 16 locations or 16 x 8 bits = 2 KB.
Hence, the correct answer is option A, which is 2 KB.
To make sure you are not studying endlessly, EduRev has designed Electronics and Communication Engineering (ECE) study material, with Structured Courses, Videos, & Test Series. Plus get personalized analysis, doubt solving and improvement plans to achieve a great score in Electronics and Communication Engineering (ECE).