@Harald Pretl I have something that seems to work, and will shortly push a commit to
xschem_sky130
.
Display device model parameters is strongly pdk dependent so each pdk should have its specific scripts to do the task.
I have done the test on sky130.
There are 2 functions.
• generating the .save lines to get all these parameters saved, this is the most boring part to do manually (due to the complex syntax):
...
.save @m.x1.xm2.msky130_fd_pr__nfet_01v8_lvt[vdsat]
.save @m.x1.xm2.msky130_fd_pr__nfet_01v8_lvt[cgg]
.save @m.x1.xm2.msky130_fd_pr__nfet_01v8_lvt[cgso]
.save @m.x1.xm2.msky130_fd_pr__nfet_01v8_lvt[cgdo]
.save @m.x1.xm3.msky130_fd_pr__pfet_01v8_lvt[gm]
.save @m.x1.xm3.msky130_fd_pr__pfet_01v8_lvt[gds]
.save @m.x1.xm3.msky130_fd_pr__pfet_01v8_lvt[vth]
.save @m.x1.xm3.msky130_fd_pr__pfet_01v8_lvt[vdsat]
.save @m.x1.xm3.msky130_fd_pr__pfet_01v8_lvt[cgg]
.save @m.x1.xm3.msky130_fd_pr__pfet_01v8_lvt[cgso]
...
• Displaying (annotating) these values in the schematic. This is done with a new
annotate_fet_params.sym
symbol: