You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In transdefs.js, each row has six fields. To the best of my understanding (I'm not an expert), this is what they do.
The transistor id.
The id of the wire connected to the transistor's gate.
The id of the wire connected to either the transistor's source.
The id of the wire connected to either the transistor's drain. (Actually, I believe the source and drain are interchangeable, but it's easier to give them names.)
The bounding box of the transistor, in the format x1 x2 y1 y2.
A mysterious field, which appears to be unused in the code.
This field always contains five numbers. What are they?
This question is relevant. I'm basically asking the one thing that didn't get answered there.
Here are my best guesses:
The width of the connection between the polysilicon and the source.
The width of the connection between the polysilicon and the drain.
I have no idea.
The number of straight segments between bends in the polysilicon.
The total amount (area) of polysilicon inside the transistor.
The text was updated successfully, but these errors were encountered:
Looking back at this, I think my guesses are correct. In addition, I think the third number in the last field is the distance across the transistor, from the source to the drain.
All together, this last field seems to be the data required to compute the current through the transistors as a function of the voltages at the four terminals. This data would be useful if you wanted to simulate the circuit at an even lower level than chipsim.js does.
I could test these hypotheses myself could be tested via the following checks:
Are the first and second numbers roughly equal?
Is their difference, divided by the third number, a good predictor of how many bends in the transistor bend one way vs. the other?
Does the sign of that difference predict whether the source or drain is on the inside of the curve of the transistor?
Do the first and third numbers always multiply to roughly the fifth?
I checked these manually for the first two transistors, and they seem to work out.
In any case, can you please add a comment to transdefs.js, clearly explaining the data format?
In
transdefs.js
, each row has six fields. To the best of my understanding (I'm not an expert), this is what they do.This field always contains five numbers. What are they?
This question is relevant. I'm basically asking the one thing that didn't get answered there.
Here are my best guesses:
The text was updated successfully, but these errors were encountered: