




































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!





































Full decoding Partial decoding
Notice that A 0 – A 9 may take on any value (a 1 or a 0) A 10 – A 15 remain unchanged for that RAM chip
Notice that A 10 and/or A 11 change states when selecting one of the four RAM chips A 12 – A 15 are always low Every address line is used in decoding these addresses Each RAM chip responds to only one range of addresses
If the enable input to the decoder was grounded then the decoder would always be enabled.
If A 10 and A 11 are both low, RAM0 would respond no matter the state of A 12 – A 15
In this table, the x’s under A 0 – A 9 mean that these address lines are directly connected to the RAM IC and have no effect on selecting the IC
This is OK, as long as RAM0 is the only memory IC (or memory bank) that responds to these addresses.
It is very important that only one bank of memory respond to any address
If the circuit is incorrectly designed and more than one memory bank responds to an address, we have bus contention
Bus contention is a condition in which more than one memory device is attempting to interact with the data bus This condition will cause: Overloading of the data bus Incorrect data being read or written (Bus contention is BAD)
RAM 4k x 8 log 2 4096 = 12 A 0 – A 11 would, therefore, be directly connected to each RAM chip 8 data lines
ROM 2k x 8 log 2 2048 = 11 A 0 – A 10 would, therefore, be directly connected to the ROM chip 8 data lines
RAM: we have 4 RAM ICs – we need 2 bits (A 12 & A 13 ) to choose between 4 RAM ICs Count from 0 to 3 (RAM0 to RAM3) on A 12 & A 13 Use all 0s for A 14 & A 15 for full decoding RAM start address was $
ROM was to start at $ 2k x 8: needs 11 address lines Others should ensure we are addressing $
The RAM can be decoded with a 2-to-4 decoder A 12 – A 15 can be used for decoding the RAM chips. A 14 and A 15 are always low so they will be used to enable the decoder. A 12 and A 13 count the four banks of memory, so they will be used as the inputs to the decoder
The outputs will be connected to the enable pins on the RAM ICs
So, what is this AS signal?