How to understand design layout (VLSI)

In summary, the SR latch is a basic circuit that is used in many different applications. The layout is a helpful way to understand the schematic.
  • #36
No kidding! How could have i even overlooked that! Mux!
I feel stupid now..:banghead:
Thank you..
 
Engineering news on Phys.org
  • #37
guys :) i am to design a one bit accumulator.. i am doing the full added part, i am done with schematic and layout...but my design can't pass the LVS check T_T
i don't understand where the error is.. i am attaching the layout, schematic and the LVS repot along with, please have a look and tell me why this discrepancy.. i know reading from the layout is hard.. still if you experienced people can assist me then it would be a great help..
 

Attachments

  • FA_schematic.jpg
    FA_schematic.jpg
    32.9 KB · Views: 395
  • FA.jpg
    FA.jpg
    26.9 KB · Views: 339
  • lvs.jpg
    lvs.jpg
    30.1 KB · Views: 390
  • #38
I don't know - it's really hard to see much on the plots you sent. But look at what the LVS is telling you. It found an extra net, and it didn't find two of the MN instance (presumably an NMOS transistor). So you are likely missing a connection somewhere in the NMOS devices - maybe a contact or via is missing? As a last resort, you can break it into pieces and LVS each piece separately until it passes, then put them together.
 
  • #40
there was annotation error in the stick diagram of the carry generator, i updated it..
 
  • #41
Are you sure the schematic is correct? have you simulated the schematic? If not, the error could be in either one.

Another question. If I start in the lower left, and move to the right, the second piece of poly over is a complex shape that goes up and has two stripes at the top. I don't see a contact to it anywhere. Is it there, and if so, where?
 
  • #42
yep, have simulated the schematic and it seems to be working fine...
for the poly, that's Q, i just used that to route the signal because there's no space to route all the signals using M1 and M2.. i just shorted the poly of Q (in Carry generator) to two of the nMOSs of the Sum generator parts. isn't just shorting them okay or i have to explicitly place contacts even if the two layers are same? :(
 
  • #43
What about the spot I circled in green in the attached pdf? Shouldn't there be a via there to connect that source region up to metal-2 and then to the supply?
 

Attachments

  • Layout.pdf
    434.2 KB · Views: 179
  • #44
T_T there should be ! i forgot it somehow ! :(
i connected that, still getting lvs error but not so much as before.. i am attaching the new lvs report...
 
  • #46
Now see that you have the right number of nets and the right number of transistors, but the layout has two extra ports. That means somewhere you have two ports that you think should be connected that aren't. You should be able to find that quickly. Where are the ports of the SP*** subcircuits, and are they all connected like they should be?
 
  • #47
whoao.. now that's interesting ! let me see.. -_-
dont go anywhere ! :)
 
  • #48
i fixed the number of ports.. actually i directly connected outputs of the inverts in the schematic !
so when i specified the inverter's output ports they threw errors.. i have a different error now.. i will upload the lvs report
1 min please
 
  • #50
I don't know. It's finding one subcircuit with four pins, and not finding one with five pins, so somehow a pin is missing. Are you sure the poly with no contacts that I highlighted earlier is OK? Normally you would connect all of the poly to metal in order for them to be considered ports. Will the LVS consider that piece of poly as a port? You said that piece of poly is Q - is Q a port of the entire circuit? Another question - have you labeled the ports? LVS works a whole lot easier if you label the ports so the software can find them.
 
  • #51
so, should i use labels instead of wires to draw the schematic?
 
  • #52
No, it's fine the way it is. I'm just saying that you can add labels to the internal nodes on your schematic and on your layout, and then when there is a port missing, you know which one is missing without having to look through the entire thing trying to figure it out.
 
  • #53
do u have any idea why it is saying "power net missing in source" ? the first error right under the incorrect sign!
 
  • #55
Sorry, I don't know enough about your LVS tool to know the answer. It seems to not find the power net in the schematic, but it appears to be there. Perhaps you need a specific label on Vdd and Vss? Try reading the LVS manual.
 
  • Like
Likes 1 person
  • #56
hi,
i was a bit busy with all these so couldn't reply sooner, i figured the problem and fixed it. i had to use separate pin instead of using explicit vdd and gnd instances. here is my final layout, have a look and say if it looks good or not :)
i am attaching the jpg with changed extension as pdf. download it and change the pdf format to jpg and it will be good enough :)
thanks for ur help... ^_^
 

Attachments

  • accumulator_final.pdf
    1,012.6 KB · Views: 510
  • #57
Congratulations on sticking with it until it passed. It looks OK to me. I see you got rid of those long poly runs, which are resistive and will slow things down. I see you also now have everything labeled. Did the labeling help with deciphering the LVS output?
 
  • Like
Likes 1 person
  • #58
yep..labeling did help a lot...without labels it is very tough to read the layout (almost impossible) ... i stuck to ur advices till the end and i was finally able to make things right.. thank u so much ^_^ and yep, i got rid of those poly, i didnt like them anyway, previously i used them just because i didnt have enough room to route my signals separately.. :)
 
  • #59
hellowwww :)
here i am again ^_^ with doubts... (as always)
please have a look at the circuit , it is i believe a dual rail domino gate, i want to determine the output Y and Y'.. i used hspice to be sure that i didn't make any silly mistake. here is the hspice output in cscope.. (i used vector file to give inputs to A and B and the input vectors of A and B are like - 00,01,10,11,00,00,00,01,10,11,)
now, the truth table of this compound gate is -

A B Y Y'
0 0 0 0
0 1 0 1
1 0 1 0
1 1 1 0

i am a bit confused what logic it actually implements... the Y is always equal to A, and Y' is equal to B for first 3 inputs.. can u please throw some insight ? :)
 

Attachments

  • Capture.JPG
    Capture.JPG
    7.1 KB · Views: 338
  • Untitled.jpg
    Untitled.jpg
    35.1 KB · Views: 354
  • #60
I'm not sure exactly what it is either, but your analysis is incomplete. If A and B are both low, then Y and Y' are both low as you have it. However, when A and B are both high, there are two stable states, one with Y high and Y' low, and one with Y low and Y' high. It is not simply a combinational logic circuit - because of the internal feedback it can store data from the past history as well.
 
  • #61
? " However, when A and B are both high, there are two stable states, one with Y high and Y' low, and one with Y low and Y' high." ---> i see only one situation when both are 1 ! Y & Y' being 1 and 0 respectively... -_-
what am i missing.. T_T
 
  • #62
dafaq said:
? " However, when A and B are both high, there are two stable states, one with Y high and Y' low, and one with Y low and Y' high." ---> i see only one situation when both are 1 ! Y & Y' being 1 and 0 respectively... -_-
what am i missing.. T_T

Isn't it completely left/right symmetric? If there is a state with Y high and Y' low, doesn't there have to be a corresponding state with Y low and Y' high?
 
  • #63
:cry: but how do i find that ! for two inputs i already have used all possible 4 combination vectors.. T_T i have no clue how to find the state u r talking.. i do understand theoritically what u r saying but no clue how to get that practically... :(
 
  • #64
dafaq said:
:cry: but how do i find that ! for two inputs i already have used all possible 4 combination vectors.. T_T i have no clue how to find the state u r talking.. i do understand theoritically what u r saying but no clue how to get that practically... :(

You need to force the simulator into the correct state by introducing some left/right asymmetry. Try adding a small capacitor to one of the two cross-coupled gates (the gates of the middle NMOS devices). With the capacitor on the left it should go one way, and with the capacitor on the right it should go the other way.
 
  • #65
phyzguy said:
You need to force the simulator into the correct state by introducing some left/right asymmetry. Try adding a small capacitor to one of the two cross-coupled gates (the gates of the middle NMOS devices). With the capacitor on the left it should go one way, and with the capacitor on the right it should go the other way.

umm..here is what i found in my textbook..have a look.. it says dual rail domino cannot have both inputs high at the same time... check the image i attached along as pdf (just change the extension to .jpg from .pdf) and see the table... if i take that for granted then i believe the circuit is kind of like multiplexer... Y always follows A and Y' follows B... what do u say?
 

Attachments

  • IMAG0120.pdf
    1.1 MB · Views: 542

Similar threads

  • Engineering and Comp Sci Homework Help
Replies
11
Views
923
  • Electrical Engineering
Replies
11
Views
1K
Replies
39
Views
3K
  • Electrical Engineering
Replies
32
Views
3K
  • Electrical Engineering
Replies
4
Views
1K
Replies
55
Views
3K
  • Electrical Engineering
Replies
6
Views
895
  • Electrical Engineering
Replies
5
Views
939
  • Electrical Engineering
Replies
18
Views
2K
  • Electrical Engineering
Replies
28
Views
2K
Back
Top