See the attached image.
Is the green box region (tDSR+tHDR) the period of time where the 6502 expects valid data on the data bus?
Or is that tACC? If it's tACC, how long do I need to have the data lines stable prior to phi2 rise for 6502 to do a valid read operation?
And the green box (tMDS+tDHW) the period of time where the 6502 guarantees valid data is asserted for a write?
Thanks,
Eric
6502 datasheet quetsion about data setup and hold times
Re: 6502 datasheet quetsion about data setup and hold times
The green box is the time during which the data must be valid on a read cycle. It must be valid at least tDSR before the falling edge of PHI2 until at least tDHR after.
The red box is the time it guarantees that data will be valid during a write cycle: at most tMDS after the rising edge of PHI2 until at least tDHW after the falling edge.
tACC is a strange one. It's giving you the latest point that the address will be valid: at least tACC before at least tDSR before the falling edge of PHI2. It's an odd specification, because it references the address, which the 6502 controls, to the data, which it doesn't. If you have a nice fast memory system and provide data earlier, the address is not going to magically become valid earlier too.
I think they've specified that because it's the important number when you're designing the memory system. You've got at most tACC to provide data after the address becomes valid.
The red box is the time it guarantees that data will be valid during a write cycle: at most tMDS after the rising edge of PHI2 until at least tDHW after the falling edge.
tACC is a strange one. It's giving you the latest point that the address will be valid: at least tACC before at least tDSR before the falling edge of PHI2. It's an odd specification, because it references the address, which the 6502 controls, to the data, which it doesn't. If you have a nice fast memory system and provide data earlier, the address is not going to magically become valid earlier too.
I think they've specified that because it's the important number when you're designing the memory system. You've got at most tACC to provide data after the address becomes valid.
Re: 6502 datasheet quetsion about data setup and hold times
John West wrote:
You've got at most tACC to provide data after the address becomes valid.
ebadger, for further info, you may perhaps wish to refer to my Visual Guide to 65xx CPU Timing. The animated "rubber band" diagrams are intended to offer insight into timing margins and the tradeoffs between them.
-- Jeff
- Attachments
In 1988 my 65C02 got six new registers and 44 new full-speed instructions!
https://laughtonelectronics.com/Arcana/ ... mmary.html
https://laughtonelectronics.com/Arcana/ ... mmary.html