Support Forum

where to find files that process files of some format?

Car

Thursday 2nd April 2020
Hello I have a full version of the program and I need to find files that process .LEF, or general processing files. But how does he understand that this is exactly .lef? After all, he processes it according to its syntax. In general, I need to fix something in these files. Tell me where they are and how they are connected.
Jürgen
LayoutEditorFull
Friday 3rd April 2020
HI, i am not sure, if I understood your question correctly. If you open a file with the LayoutEditor under LayoutEditor-mainmenu/file/open, the LayoutEditor will detect the file type. Most important for this detection is the file name. In case if an extension .gds it is open in GDS format. In case the file name ambiguous or even unknown, the first part of the file is loaded and checked for characteristic keywords for an file format. In the build in TextEditor it is handled similar. In case the file type e.g C++ file or Python file was not detected correctly it will only effect the highlighting. This can be adjusted afterwards with menu/Utilities/TextEdtitor and choosing the wanted format. A LEF file is a text file format and can be adjusted with any text editor. In the layout window the LayoutEditor can load LEF files, but storing to LEF is not supported.
Car

Friday 3rd April 2020
Thanks for the answer. I will try to explain in more detail. I need to configure the processing / reading of a .lef file. I have to process the file differently (with my corrections). And just editing macros, I think, will not work. Of course, changes to checking rules in drc might probably help (but it is not exactly) but first I need to work with the processing / reading files regarding .lef. In the description of the program it was said - all files of this project will be available. Roughly speaking, what I'm looking for can be called - libraries for processing .lef And I note that all this is for educational purposes only. I am a student.
Jürgen
LayoutEditorFull
Friday 3rd April 2020
LEF is a standard and always processed in the same way. Otherwise it would not be a standard. As LEF file are text file it can be edited with any text editor. There are programming libraries in the web able to parse LEF, but as far as i know these libraries also only read it and not write it back after an modification. LEF file are usually part of a PDK and shipped by a foundry. So usually there is no need to edit it. LEF is still sometimes used, but more and more replaced by OpenAccess as it is an open standard. For OpenAccess a read/write libraries names OpenAccess script exists and integrated into the LayoutEditor. You can create OpenAccess script in Ruby and Python with the integrated TextEditor and execute it.
Car

Friday 3rd April 2020
Thanks for the explanation. I'm confused, but you seem to put my brains in their place. =)