Hi all! <@U01819B63HP> sorry for the tag but I am ...
# sky130
i
Hi all! @Stefan Schippers sorry for the tag but I am making an amplifier using an inverter. Transient analysis is working smoothly but I can't run its AC analysis properly. Would appreciate your help regarding this :)
l
You must add an AC magnitude voltage to your input voltage source. Try adding ac 1 sin(0 10m 10k) to its properties.
s
@Isabelle Rose Sta Rita Please try this example circuit, it's a nice all-in one that does Op annotation in the schematic, transient analysis, closed loop AC analysis and loop gain stability analysis (of course unneeded on a single stage amplifier like this, but just for fun).
message has been deleted
👍 1
i
@Luis Henrique Rodovalho Oh I see. Will try that. Thanks!
@Stefan Schippers Thanks for sharing this! I’ll check it out.
hi @Stefan Schippers do you happen to know how to fix this issue? seems like I can't plot the vin and vout in db which is why the bandwidth is not showing correctly. but when I plot it on the simulation its working fine.
s
Wrap the expressions n double quotes:
"vout db20()"
"vin db20()"
This requirement is no longer necessary on newest xschem builds.The executable you are using is a bit older. The change to allow unquoted expressions was done on December 5, 2024:
Copy code
2024-12-05 02:54:34 +0100 (Thu, 05 Dec 2024) | 1 line

Allow wave expressions with spaces on a single line without quotes ("...."). Quotes can be used for wave expression on multiple lines. Side effect: multiple nodes can no more be specified on a single line separated with spaces. Use newlines
❤️ 2