How to understand design layout (VLSI)

  • Thread starter Thread starter dafaq
  • Start date Start date
  • Tags Tags
    Design Vlsi
Click For Summary
The discussion focuses on understanding the layout of an SR NOR latch in CMOS design. Participants emphasize the importance of tracing the layout to match it with the schematic, highlighting the use of color coding for different components. They recommend using Cadence for design entry, noting its steep learning curve but extensive capabilities. Questions arise about the necessary background in digital electronics for layout design, with responses indicating that practical experience is often more valuable than formal education. Finally, a query about analyzing a 2:1 multiplexer leads to insights on delay and power consumption based on input patterns, stressing the significance of signal paths in determining performance.
  • #31
@phyzguy: i think the PUN is implementing (B+S).(A+S')
is it so?
 
Engineering news on Phys.org
  • #32
but i have no idea what this circuit implements ! i mean what's this circuit actually is (definitely not multiplexer or adder or things like that) ..
 
  • #33
dafaq said:
@phyzguy: i think the PUN is implementing (B+S).(A+S')
is it so?

I think this is wrong. Try making a truth table and comparing it to the truth table of some of the common 2-input functions you mentioned.
 
  • #34
@phyzguy
i made the truth table.. have a look.. but i can't really match this with something i remember.. can you please remind me? :( besides, what will be the worst case delay input transition ?
 

Attachments

  • IMAG0019.jpg
    IMAG0019.jpg
    12.3 KB · Views: 450
  • #35
dafaq said:
@phyzguy
i made the truth table.. have a look.. but i can't really match this with something i remember.. can you please remind me? :( besides, what will be the worst case delay input transition ?

When S = 1, Out = A. When S = 0, Out = B, so S selects A or B. What would you call this?
 
  • #36
No kidding! How could have i even overlooked that! Mux!
I feel stupid now..:banghead:
Thank you..
 
  • #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: 454
  • FA.jpg
    FA.jpg
    26.9 KB · Views: 398
  • lvs.jpg
    lvs.jpg
    30.1 KB · Views: 456
  • #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

  • #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

  • #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: 398
  • Untitled.jpg
    Untitled.jpg
    35.1 KB · Views: 409
  • #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.
 

Similar threads

  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
39
Views
6K
  • · Replies 32 ·
2
Replies
32
Views
5K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 25 ·
Replies
25
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 1 ·
Replies
1
Views
2K