6502.org Forum  Projects  Code  Documents  Tools  Forum
It is currently Tue Nov 12, 2024 3:40 pm

All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Thu Jan 31, 2013 10:20 pm 
Offline

Joined: Mon Jan 28, 2013 3:09 am
Posts: 35
There are these 2 non overlapping clock cycles in the 6502. I wonder if there is a high level view of why this is so and what happens at each cycle. I'm analysing the processor right now, but I sometimes feel like I'm lost in the trees when I want to see the forest. So what would be the forest in regards to the clock cycles?


Top
 Profile  
Reply with quote  
PostPosted: Thu Jan 31, 2013 10:39 pm 
Offline
User avatar

Joined: Thu Dec 11, 2008 1:28 pm
Posts: 10977
Location: England
The basic flip-flop structure in NMOS is a pair of D-type (transparent) latches: such a pair is a reliable edge-triggered flop provided the two clocks don't overlap. A latch (or half-latch, depending on terminology) is as simple as an inverter with a pass gate on the input: just 3 transistors.

One design style would interleave logic clouds with edge-triggered registers, but another is to interleave logic between both halves of the flop. You'll probably find both examples on the 6502: another way to look at this is that some signals have a deadline which is the falling edge of phi1, and others have a deadline which is the falling edge of phi2.

Have a look at http://en.wikipedia.org/wiki/Flip-flop_ ... _flip-flop - it might help.

Cheers
Ed


Top
 Profile  
Reply with quote  
PostPosted: Fri Feb 01, 2013 9:35 am 
Offline
User avatar

Joined: Thu Dec 11, 2008 1:28 pm
Posts: 10977
Location: England
You might also find these helpful:
http://visual6502.org/wiki/index.php?ti ... 2_datapath
http://visual6502.org/wiki/index.php?ti ... te_Machine
http://visual6502.org/wiki/index.php?ti ... ck_Diagram

Cheers
Ed


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 20 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: