Hi Team, I need help on <#C016YSAP6TZ|>, I'm curre...
# analog-design
j
Hi Team, I need help on #C016YSAP6TZ, I'm currently doing my layout for a 2 stage op amp. I need help on how do i layout sa analog passive components like caps, res, and pnp bjts as well. Hope you could share some guidelines/best practices, and any tutorial would be verymuch appreciated. Thank you.
t
Create a SPICE netlist from your schematic (with the ".subckt" and ".ends" wrapper around it), then import the netlist into magic using the menu option "File-->Import SPICE". That will create an initial set of device layouts for you, including the caps, resistors, and bipolars. They will not be placed in any meaningful way. You will want to arrange the placement yourself, and at the same time, select each instance and bring up the device property dialog window (Ctrl-p) and modify each instance to change the number of device fingers, or split resistors into multiple smaller lengths, or change the capacitor array aspect ratio; aspects of the design that cannot be imported with the netlist because they aren't represented in the schematic. There are some youtube video tutorials on doing layout with magic that show how to do this. In particular, look for tutorials from me, Carsten Wulff, Harald Pretl, and Brad Minch.
j
Thanks a lot Tim!
Just a follow up question, for example i wanted to convert a cap to a .mag layout from xschem, do I need to have a complete circuit say a voltage source and ground the cap before i generate the SPICE netlist? Or a floating cap with a specified value would do?
t
If you just want to create a single device, then there's no point in using the
import SPICE
function; just go to the
Devices
menu (
Devices 2
has the capacitors), select
MiM cap - 2fF/um^2 (metal3 )
from the menu, which brings up a dialog box where you can enter the values needed for the cap. The point of
import SPICE
is that if you have a working schematic, then you want an automated way to create all the devices needed for the layout, rather than the tedious and error-prone method of creating each device in the layout individually and entering values by hand.