klayout icon indicating copy to clipboard operation
klayout copied to clipboard

I would like to ask a question. Where can I find the source code for parsing and displaying GDS files in Klayout? Could you please tell me? Thank you.

Open bboyguan opened this issue 1 year ago • 2 comments

I would like to ask a question. Where can I find the source code for parsing and displaying GDS files in Klayout? Could you please tell me? Thank you.

image

bboyguan avatar Jul 17 '23 11:07 bboyguan

find src | grep cc | grep gds find src | grep cc | grep View both should give you a start where to look. The code reading/writing various file formats can be found in src/plugins/streamers

To have a look at unfamiliar code, I found it helpful to use "valgrind --tool=callgrind klayout" which generates callgraphs that can be visualized with [kq]cachegrind.

https://github.com/CoatiSoftware/Sourcetrail used to be a good tool to look at source-code but it's development has stalled, so your milage might vary.

stefanottili avatar Jul 18 '23 16:07 stefanottili

This can be closed, no ?

stefanottili avatar Sep 13 '23 21:09 stefanottili