6502.org Forum  Projects  Code  Documents  Tools  Forum
It is currently Thu Nov 21, 2024 1:37 pm

All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Sat May 04, 2024 5:22 pm 
Offline

Joined: Sun Sep 10, 2023 7:30 pm
Posts: 7
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


Attachments:
6502_read_write.png
6502_read_write.png [ 84.11 KiB | Viewed 999 times ]
Top
 Profile  
Reply with quote  
PostPosted: Sat May 04, 2024 6:40 pm 
Offline

Joined: Tue Sep 03, 2002 12:58 pm
Posts: 336
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.


Top
 Profile  
Reply with quote  
PostPosted: Sat May 04, 2024 7:07 pm 
Offline
User avatar

Joined: Fri Dec 11, 2009 3:50 pm
Posts: 3367
Location: Ontario, Canada
John West wrote:
You've got at most tACC to provide data after the address becomes valid.
Yes, exactly. (And, stated that way, I wouldn't say there's anything odd about it, John, although I do see your point that the 6502 doesn't control arrival of the data; it merely has a requirement of how soon data must arrive).

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:
File comment: One of several ANIMATED diagrams. This one shows how Access Time tACC declines as the clock rate increases.
GIF10.gif
GIF10.gif [ 97.26 KiB | Viewed 994 times ]

_________________
In 1988 my 65C02 got six new registers and 44 new full-speed instructions!
https://laughtonelectronics.com/Arcana/ ... mmary.html
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 11 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: