[Libre-silicon-devel] Magic CIF output support for LibreSilicon

Tim Edwards tim at opencircuitdesign.com
Sat Aug 18 17:15:40 CEST 2018


Hello David,

> Thanks! I'm looking forward to your feedback!
> The recent CIF output definition I've built spits out the manufacturing masks
> we require for running our test tape out.
> There is however maybe a problem with wrong CIF layers or so.
> I'm looking forward to hearing your opinion on what I've done.

My first question would be:  Why are you creating a complete copy of the
magic-8.2 repository just to post a techfile?

My first comment would be:  Don't use "cpp" for creating techfiles.  It
is a preprocessor for C source code and really is very poorly suited to
anything else.  I tried "m4" for a while on new techfiles before coming
to the conclusion that it is even worse than cpp.  I made my own
preprocessor called "preproc.py" in the scripts/ subdirectory of magic,
which is probably the better preprocessor to use, although I have not
yet tried to convert the original SCMOS techfile sources to it (well, I
seem to have started it a year ago but never finished).  I use it at
efabless to generate techfiles and PDKs for all the tools.  It takes the
usual -D defines on the command line and parses #ifdef, #ifndef, etc.,
like cpp, but without all the C-language-specific weirdness.

					---Tim

+--------------------------------+-------------------------------------+
| R. Timothy Edwards (Tim)       | email: tim at opencircuitdesign.com    |
| Open Circuit Design            | web:   http://opencircuitdesign.com |
| 19601 Jerusalem Road           | phone: (240) 489-3255               |
| Poolesville, MD 20837          | cell:  (408) 828-8212               |
+--------------------------------+-------------------------------------+


More information about the Libre-silicon-devel mailing list