Hi all,
I've found in a forum topic some sample Ruby code on how to import a LEF into KLayout (http://klayout.de/forum/comments.php?DiscussionID=30). I believe suggestion is from a time where the option File > Import > LEF didn't exist. Is there any API command to import a LEF file the same way we can import a GDSII? For instance:
l1 = RBA::Layout::new
l1.read("my_lef_file.lef")
Comments
Hello,
you're right. At this time, there was no integrated LEF parser.
LEF is not a plain format such as GDS. It carries additional information along the geometrical one (i.e. blockage layers, net names, ...) and the translation to a pure GDS-like geometry database needs to be specified. Right now, this is a special module not alike the normal readers and Ruby/Python integration is not there yet.
Matthias