Address decoding question (Garth's first example in primer)
Posted: Sun Mar 19, 2017 11:20 pm
Ok, I'm looking at the example in Garth's primer for a memory map with 1 32k SRAM (16k available), 32k ROM, and room for much I/0.
I have been studying the varies combinations possible, and found one scenario that confuses me.
Imagine A15 is LOW, and A14 is HIGH. As I read it, this is to select I/0 addresses. Ok, makes sense.
So if that combo is there, and the phase2 clock is HIGH, you would have I/O plus SRAM's CE pins selected. The OE of SRAM would still be deselected, but you could still write (correct?)
Ok, that is fine since that memory is not actually reachable in this scheme, and write garbage there doesn't matter.
what confuses me is there is still a line from A14 to the SRAM. What is it for? Is it just a bad idea to have that pin not connected?
I have been studying the varies combinations possible, and found one scenario that confuses me.
Imagine A15 is LOW, and A14 is HIGH. As I read it, this is to select I/0 addresses. Ok, makes sense.
So if that combo is there, and the phase2 clock is HIGH, you would have I/O plus SRAM's CE pins selected. The OE of SRAM would still be deselected, but you could still write (correct?)
Ok, that is fine since that memory is not actually reachable in this scheme, and write garbage there doesn't matter.
what confuses me is there is still a line from A14 to the SRAM. What is it for? Is it just a bad idea to have that pin not connected?