<#373 Annotation of key FET parameters> Pull reque...
# ihp-sg13g2
g
#373 Annotation of key FET parameters Pull request opened by StefanSchippers Implements @Harald Pretl request Added symbol:
sg13g2_pr/annotate_fet_params.sym
Shows
gm, gds, vth, vdss, cgg, cgdol, cgsol
and
ft
(calculated from previous parameters) for the transistor it is linked to (via a
ref=Mx
attribute).
sg13g2_tests/dc_*v_*mos.sch
test cases changed to use it. Helper procedures added to xschemrc IHP specific menu entry added with 3 entries: 1. Create FET .save file: this creates a file with .save instructions, so that all data is available in the raw file. Just add a .include line of the generated file in the testbench. This is done in the
sg13g2_tests/dc_*v_*mos.sch
test cases 2. Add models symbol. This simple entry places a
code_shown.sym
symbol in the schematic with the .lib lines for lv and hv FETS that are needed for simulation. 3. Add FET param annotator (
annotate_fet_params.sym
): Places the symbol that shows the above DC / small signal parameters for the linked transistor. After placement you need to set the
ref
attribute to the name of the MOS device it refers to. If this menu is clicked with one MOS selected it will fill in the ref attribute automatically. All these changes are IHP specific, follow the same additions done on sky130 and do not require changes in the xschem codebase. The image shows the annotator in action for M1 and the IHP menu entry in the menubar. The menu addition can later be used to add other new pdk-specific functions. A few lines in the xschemrc file are needed to add other entries. 1 IHP-GmbH/IHP-Open-PDK