{"id":13786956,"url":"https://github.com/unihd-cag/skillbridge","last_synced_at":"2025-04-05T21:05:25.226Z","repository":{"id":35142753,"uuid":"210600024","full_name":"unihd-cag/skillbridge","owner":"unihd-cag","description":"A seamless python to Cadence Virtuoso Skill interface","archived":false,"fork":false,"pushed_at":"2024-04-24T07:30:56.000Z","size":967,"stargazers_count":159,"open_issues_count":0,"forks_count":34,"subscribers_count":10,"default_branch":"master","last_synced_at":"2024-04-25T06:44:05.632Z","etag":null,"topics":["asic","cadence","cadence-virtuoso","design-automation","hardware","python","skill","skillbridge","virtuoso"],"latest_commit_sha":null,"homepage":"https://unihd-cag.github.io/skillbridge/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/unihd-cag.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-09-24T12:40:58.000Z","updated_at":"2024-08-03T20:01:13.359Z","dependencies_parsed_at":"2024-04-11T09:32:02.062Z","dependency_job_id":"3f18c17d-0f30-47df-93a1-a6e7e2a67115","html_url":"https://github.com/unihd-cag/skillbridge","commit_stats":{"total_commits":228,"total_committers":8,"mean_commits":28.5,"dds":0.6754385964912281,"last_synced_commit":"e23a521e7b6cdea29bfad2cac7d0f80c7bac4215"},"previous_names":[],"tags_count":54,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unihd-cag%2Fskillbridge","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unihd-cag%2Fskillbridge/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unihd-cag%2Fskillbridge/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unihd-cag%2Fskillbridge/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/unihd-cag","download_url":"https://codeload.github.com/unihd-cag/skillbridge/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247399871,"owners_count":20932876,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["asic","cadence","cadence-virtuoso","design-automation","hardware","python","skill","skillbridge","virtuoso"],"created_at":"2024-08-03T20:00:23.256Z","updated_at":"2025-04-05T21:05:25.188Z","avatar_url":"https://github.com/unihd-cag.png","language":"Python","funding_links":[],"categories":["Full Custom Design"],"sub_categories":["Verification"],"readme":"# Python-Skill Bridge\n\n[![PyPI version](https://badge.fury.io/py/skillbridge.svg)](https://badge.fury.io/py/skillbridge)\n![build](https://github.com/unihd-cag/skillbridge/workflows/Python%20package/badge.svg)\n\n### Prerequisites\n\n- Python 3.8 or higher[^1]\n- pip\n- IC 6.1.7 or ICADV/M or higher\n\n[^1]: For Python 3.6 and Python 3.7 please install version `1.5.1` (`pip install skillbridge==1.5.1`) \n\n### Features\n\n- Run Virtuoso's Skill functions from Python\n- Automatically translate all Skill objects to Python\n- Automatically translate Python numbers, booleans, strings, lists and dictionaries to Skill\n- Retrieve Skill function documentation in Python\n- Convenient tab-completion (+ jupyter support)\n  - object attributes\n  - global function list\n  - methods\n\nRead more in the [full documentation](https://unihd-cag.github.io/skillbridge/).\n\n### Installation\n\n```bash\npip install skillbridge\n```\n\nAdd the `--user`  option if you don't want to install it systemwide.\n\nBefore you can use the Skill bridge you must generate the function definitions from\nVirtuoso via the Skill console.\n\n1. Type `skillbridge path` into your shell to acquire the correct `PATH-TO-IPC-SERVER`\n2. Open Virtuoso\n2. Type these commands into the Skill console\n    - `load(\"PATH-TO-IPC-SERVER\")`\n\nAfter that you can also generate the static completion stub files. This is useful for code completion\nin certain IDEs (e.g. PyCharm)\n\n- Type `skillbridge generate` into your shell.\n\n### Updating\n\nIn order to update the python package type this\n\n```bash\npip install skillbridge --upgrade\n```\n\n### Examples\n\n**_Note:_** All these examples assume that the Skill server is running. You can\nstart it by typing the following command into the Skill console.\n\n```lisp\nload(\"PATH-TO-IPC-SERVER\")\npyStartServer\n```\n\n##### Connecting to the server\n\n```python\nfrom skillbridge import Workspace\n\nws = Workspace.open()\n```\n\n##### Accessing the currently open edit cell view\n\n```python\ncell_view = ws.ge.get_edit_cell_view()\n```\n\n##### Inspecting available properties\n\n```python\n\u003e\u003e\u003e dir(cell_view)\n['DBUPerUU', 'any_inst_count', 'area_boundaries', 'assoc_text_displays', 'b_box', ...]\n```\n\nor type `cell_view.\u003cTAB\u003e` in jupyter/ipython\n\n##### Reading properties\n\n```python\n\u003e\u003e\u003e print(cell_view.b_box)\n[[0, 10], [2, 8]]\n```\n\n##### Call any SKILL function\n\n```python\n\u003e\u003e\u003e ws['plus'](3, 4)\n7\n```\n\n*equivalent to:*\n\n```lisp\n(plus 3 4)\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funihd-cag%2Fskillbridge","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Funihd-cag%2Fskillbridge","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funihd-cag%2Fskillbridge/lists"}