| <?xml version="1.0" encoding="utf-8"?> |
| <!-- |
| Copyright 2022 GlobalFoundries PDK Authors |
| |
| Licensed under the Apache License, Version 2.0 (the "License"); |
| you may not use this file except in compliance with the License. |
| You may obtain a copy of the License at |
| |
| https://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
| --> |
| <klayout-macro> |
| <description/> |
| <version/> |
| <category>pymacros</category> |
| <prolog/> |
| <epilog/> |
| <doc/> |
| <autorun>true</autorun> |
| <autorun-early>false</autorun-early> |
| <shortcut/> |
| <show-in-menu>false</show-in-menu> |
| <group-name/> |
| <menu-path/> |
| <interpreter>python</interpreter> |
| <dsl-interpreter-name/> |
| <text> |
| |
| import sys |
| import os |
| |
| technology_macros_path = os.path.dirname(os.path.abspath(__file__)) |
| sys.path.insert(0, technology_macros_path) |
| |
| from cells import gf180mcu |
| |
| # Instantiate and register the library |
| gf180mcu() |
| |
| print("## gf180mcu PDK Pcells loaded.") |
| print(sys.path) |
| |
| </text> |
| </klayout-macro> |