Is there an easy way to turn text into polygons so...
# magic
d
Is there an easy way to turn text into polygons so masks can be documented? I have a 4-mask university-based nmos transistor process, and it is very helpful to have things labeled in the physical mask. I am sure one could just draw the letters as cells and call them with a TCL script, but if this process already existed, that would save me time.
t
In sky130, there is a library
sky130_ml_xx_hd
containing layout in magic format with hex values of the ASCII for each character (e.g.,
font_6C.mag
) in the
mag/
directory. In the
scripts/
directory there is a python script called
text2mag.py
that will compose a layout file from a text string.
1
These can be adapted to any process; likewise, the text can be reworked to any size using
load -scaled
in magic, which is how I got the large hex digits representing the project ID on Caravel.
1
🙌 1