Hello,
I'm new to this forum, so I'm putting this post in the area I think it should be in. The questions area. If there is a better place for this post, please direct me there.
I'm trying to design a Rail-to-rail OTA, shown here.
And I've created a test-bench to test the functionality of the OTA, shown here.
My question is this. How do I get ADE to plot the gm of a given transistor in the OTA when the simulation is running on a test bench schematic and not the schematic of the OTA directly? I know that if you open a simulation on a schematic, you can plot the gm of any transistors in THAT schematic by simply creating a *.scs file and putting in "save [component name]:all" and then you plot any model parameter you want. But how do you do this for a transistor that lies within a symbol that is within a schematic? I thought that "save [symbol name].[component name within symbol]:all" would work, but all I can get is the DC operating point of the target component's model parameters. What I want is to see how the model parameters, say gm, change with some input, say the input common mode.
For reference, and in case it is difficult to see, the name of the OTA within the testbench is just "OTA". The name of the transistor I'm interested in that is within the OTA is "N_DPair_Pos".
The commands I've tried using in the .scs for ADE for the testbench are as follows:
save N_DPair_Pos:all
save OTA/N_DPair_Pos:all
save OTA.N_DPair_Pos:all
save OTA:all
I've tried looking through Help->Contents but I'm fairly new to cadence and there is a lot to read. If someone can answer my question then point me to what part of the documentation would help with understanding more about .scs files, I'd be most grateful.
Thank you.