Hi, I was just wondering whether there is a way to...
# analog-design
j
Hi, I was just wondering whether there is a way to see the net numbers (n+ n-) for my components/sources. I'm trying to run a transient simulation of a inverter whose input is a pulse source but am struggling with finding the terminal-labels for the vpulse source. Thank you for your time and help.
s
@Jon Ho there are no 'net numbers' the nodes get the name of the label you see in the schematic, so you just write in your code element:
VIN VIn GND PULSE( .... )
HOWEVER be careful, in your design you have placed a voltage source. This is translated in the netlist to:
VIN Vin GND 0
So you end up with 2 voltage sources and this is an error. Remove the Vin component in the schematic and you will be ok. You can also set the PULSE function directly in the schematic attaching it to the 'value' attribute of the voltage source Vin:
value="pulse(...)"
The quotes are required since the PULSE() contains spaces. So there are 2 solutions: • remove the VIN voltage source and set
VIN Vin GND PULSE(...)
in your code block. • remove the VIN line in the code block and set VIN value attribute to
value="PULSE(...)"
see example here:
j
Thank you once again @Stefan Schippers. I've been using Cadence Virtuoso for my analog courses/experience thus far so I'm continuing to learn the spice directives/Xschem.