Continue to Site

Different results between pre-sim and post-sim

didid

Newbie level 5
Newbie level 5
Joined
Jul 13, 2024
Messages
10
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
129
presim.png
posim.png

I am designing an LNA for neural recording.
I designed the LNA as a current-reused structure and added a cmfb structure.
I used a capacitive feedback structure and connected a pseudo resistor in parallel to the feedback capacitor to set the high-pass frequency.
I ran the DC simulation and checked the DC operating points. The top photo is the PRE-SIMULATION result, and the bottom photo is the POST-SIMULATION result, and you can see that the flowing DC current values are significantly different.
In the case of POST-SIMULATION, the PMOS and NMOS appeared to have current flowing in opposite directions. In addition, the amount of current flowing through core amp is different.
Does anyone know why the post-simulation result is like this?
 
Hi @didid

First of all, we need more information about your circuit and testbench that you are using:
1. What is the testbench that you are using for your test? Is it an open-loop or closed-loop simulation? (If it is a closed-loop simulation, then your pseudo-resistor might be an issue because it wouldn't give you a correct result in DC)
2. Did you perform any other functional tests for your circuit? What kind of difference do they show, and how significant is the difference?
3. I might be missing something, but I cannot find any traditional current source here... How do you set the bias?
4. Did you pass LVS and ERC checks?
5. It would be useful to see your layout with some comments as well.

Regarding the result, I have a few thoughts:
  • Sometimes, during backannotation of the post-extraction results, Virtuoso might show current per multiplier, not for the entire device. This can be checked by measuring power consumption before and after the layout.
  • If you are using "R+C" or "C+CC" extraction, it might be useful to re-run your sims with "No RC" - it will give you an idea whether the layout dependent effects are the root cause or the resistance/capacitance of the nets. Please share your "No RC" extraction sims with your layout afterwards.
Hopefully, that helps.
 
Thank you for you kind answer, @sidun.av

First of all, I changed W/L information of some transistors so the simulation results got little different from the first results I applied before.
1. The picture below is my circuit. It is a closed-loop simulation.
1743166456632.png

It is hard to see but the pin NN and the PP are the inputs for the core amplifier.
In addition, one PMOS transistor is used as pseudo-resistor.

2. I got xf simulation and transient simulation for ac response and the exact value of the voltage from some nodes. The pictures below are the results of the post-layout simulation and pre-layout simluation, respectively.
1743167597925.png

1743167729084.png


3. I also developed the bias circuit with current mirroring. You can see the NMOS with the gate name 'VB0'. The voltage about 500mV is applied to the 'VB0' node, so NM2 works like a current source.


4. Yes, of course. I double checked the LVS and ERC errors.


5. The picture below is my layout
1743167502507.png




I checked the current per multiplier. It was exactly right with what you said. The amount of current flowing showed per multiplier!!
And after I rerun the sims with 'no R/C', the simulation results was same as pre-layout simulation. However, the directions of the current in PM2, NM2, PM9, PM8, NM12, NM11 are opposite as you can see the picture below. Is that okay??
1743168239409.png
 
And after I rerun the sims with 'no R/C', the simulation results was same as pre-layout simulation
It looks like the problem is with RC then...
Could you please share zoomed-in version of your layout? It will be useful if you can do a screenshot of the used layers palette too.
1743168821246.png

Please, remove the dots while screenshotting - Press "O" and instead of "dots" select "none" in grid control.
--- Updated ---

I can also recommend checking some internal nodes of your LNA and comparing them with the original schematic behaviour, let's say VON1, VOP1 - I guess they might show you the reduced amplitude as well due to excessive loading (the current in this branch is quite low, but driving gates of CMFB and output stage). If that's true, you can extract all nets, excluding these and repeat the simulation. If the results would be better, that's the root case you are looking for.
 
Last edited:
1743306963769.png


I am sorry for the delay in posting the photo.
I changed the schematic of the pseudo-resistor again, so the layout of the pseudo-resistor is a little different.
 
I don't think your pseudo-resistor is a culprit to be honest...
If you will follow the procedure I mentioned in my previous post, I think it would be more obvious which net is the root cause. When you will start debugging the parasitic capacitance - plate-to-plate is usually dominates down to 65nm, below 65nm it would be mostly fringe capacitance.

Hopefully, that helps.
 


Write your reply...

LaTeX Commands Quick-Menu:

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top