I would like to nicely ask if someone can implemen...
# analog-design
s
I would like to nicely ask if someone can implement rf components such as inductors, baluns and rf fets into xschem and magic. It would be very useful. @Tim Edwards
t
For which process? Sky130 has RF components, although there are no characterized inductors or baluns.
🌍 1
From the other thread I assume you are talking about sky130. There are RF components; these have fixed layouts, and you need to pick them up from the library. The
sky130_fd_pr
library is in the search path for magic, so you only need to type
load <cellname>
with the name of the RF layout you want. There are hundreds of these layouts, so I did not attempt to put them in the device generator for magic (I might get an intern to do something about that, shortly). For now, you can browse through the list of layouts at, e.g.,
/usr/share/pdk/sky130A/libs.ref/sky130_fd_pr/mag/
, where you'll find cell layouts with names like
sky130_fd_pr__rf_nfet_01v8_lvt_bM02W1p65L0p15
. There are
a
and
b
layout variants (and sometimes
c
) but I don't have any understanding of why you would want to use one over the other. There is a secondary issue that the RF components are not set up in the library
mag/
directory to extract as RF components, so they will extract as normal devices, meaning that you will need to find the subcircuit for, e.g.,
sky130_fd_pr__rf_nfet_01v8_lvt_bM02W1p65L0p15
in the output netlist and remove it so that the RF subcircuit from the PDK is used instead. There's a better solution for that and I will be working with my intern to fix that as well over the next few weeks or so.
🌍 1
s
Perfect! I ll try and I ll let you know! That would be great! I wish and you your intern luck.