6502.org Forum  Projects  Code  Documents  Tools  Forum
It is currently Tue Sep 24, 2024 8:25 pm

All times are UTC




Post new topic Reply to topic  [ 8 posts ] 
Author Message
PostPosted: Fri Feb 08, 2013 1:00 am 
Offline

Joined: Mon Jan 28, 2013 3:09 am
Posts: 35
Quoting from the following post:
http://forum.6502.org/viewtopic.php?p=24080#p24080
Quote:
the stray capacitance of the transistors holds the value.


I was wondering what the general rules for the stray capacitance are. So how long will a previously charged polysilicon, metal or diffusion element hold the charge/value if it is not connected to power or ground during a short period of time(when phi1 or phi2 are down)?

Specifically:

1. Will it hold the charge during the off period of phi1 and phi2?
2. Will the size of the connection have an influence on the above? I remember seeing a fairly long connection that was powered through a transistor controlled by phi1 and it seemed to retain the charge in the simulator even though phi1 was down, but I can't find it anymore.


Top
 Profile  
Reply with quote  
PostPosted: Fri Feb 08, 2013 6:43 am 
Offline
User avatar

Joined: Thu Dec 11, 2008 1:28 pm
Posts: 10938
Location: England
Most simulation will not model leakage, and it's leakage which results in a stored value decaying. Possibly you could simulate this in SPICE, but the runtime would be horrendous.

Most connections, even active area (diffusion), have relatively small capacitance compared to the capacitance of the polysilicon gate. The gate-source and gate-drain capacitances are next largest.

Cheers
Ed


Top
 Profile  
Reply with quote  
PostPosted: Fri Feb 08, 2013 5:43 pm 
Offline

Joined: Mon Jan 28, 2013 3:09 am
Posts: 35
Thanks for your answer Ed, I would be even more grateful if you addressed points 1 & 2. ;)

Btw, I don't have any clue what capacitance is and how it affects the holding and/or losing of value/charge.


Top
 Profile  
Reply with quote  
PostPosted: Fri Feb 08, 2013 6:01 pm 
Offline
User avatar

Joined: Thu Dec 11, 2008 1:28 pm
Posts: 10938
Location: England
Capacitance is the ability to store charge. In a water model, pipes are resistors (thin ones have more resistance) and balloons are capacitors.

For point 1, any node which is presently driven will always be driven many orders of magnitude harder than any leakage. So it's only undriven nodes which might leak. Some latches will be phi1 and others phi2, so they will leak at different times. If both clocks are low (which they briefly are) then all storage nodes leak - but the time of non-overlap is very short.

For point 2, capacitance scales with area or with edge length, depending. But area is the greater effect. So a larger area of diffusion or gate, whatever shape it is, will have more capacitance.

Because gate capacitance dominates, you can ignore the sizes and shapes of all the other layout for this purpose: you care only how big the gate is.

Hope that helps
Ed


Top
 Profile  
Reply with quote  
PostPosted: Fri Feb 08, 2013 6:58 pm 
Offline
User avatar

Joined: Fri Aug 30, 2002 1:09 am
Posts: 8515
Location: Southern California
In Ed's analogy of the balloon, think of the leakage as a pin hole. Eventually the water stored in the balloon will all leak out, but not in the short time phase 2 is low. Since the NMOS 6502 stored charges this way though, it did have a minimum specified frequency; ie, you couldn't stop the clock indefinitely like you can the CMOS ones. Leakage is unavoidable because the manufacturing process is not perfect; but that leakage is extremely low.

_________________
http://WilsonMinesCo.com/ lots of 6502 resources
The "second front page" is http://wilsonminesco.com/links.html .
What's an additional VIA among friends, anyhow?


Top
 Profile  
Reply with quote  
PostPosted: Fri Feb 08, 2013 10:45 pm 
Offline

Joined: Mon Jan 28, 2013 3:09 am
Posts: 35
GARTHWILSON wrote:
Eventually the water stored in the balloon will all leak out, but not in the short time phase 2 is low.


Does the same apply for phi1?

For all practical purposes can we ignore leakage in the visual6502 and just assume that a previously powered connection will remain powered even if temporarily not connected to source or ground due to a phi1 or phi2 low?


Top
 Profile  
Reply with quote  
PostPosted: Fri Feb 08, 2013 10:57 pm 
Offline
User avatar

Joined: Fri Aug 30, 2002 1:09 am
Posts: 8515
Location: Southern California
The principle would apply anywhere you put charge on a net that has capacitance (which basically means any of them) and then seal it off. It will hold the charge for an amount of time determined by the capacitance and the leakage rate.

_________________
http://WilsonMinesCo.com/ lots of 6502 resources
The "second front page" is http://wilsonminesco.com/links.html .
What's an additional VIA among friends, anyhow?


Top
 Profile  
Reply with quote  
PostPosted: Sat Feb 09, 2013 7:43 am 
Offline
User avatar

Joined: Thu Dec 11, 2008 1:28 pm
Posts: 10938
Location: England
Certainly visual6502 doesn't model leakage. As I mentioned earlier, it's pretty unusual to do so. The timescales of leakage are at least 100x greater than the usual timescales of simulation.

Cheers
Ed


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 12 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: