Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Desc format #42

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Desc format #42

wants to merge 3 commits into from

Conversation

fbeutel
Copy link
Contributor

@fbeutel fbeutel commented Dec 28, 2020

Suggestion for a new format for the desc output dictionary.
This follows more closely the idea of GDSII that each cell is identified by a unique name and can be referenced mulitple times.

With this new format, the resulting dict will only contain the desc data for each cell once and just store (name) references to the other cells.

Basically, the resulting dict will look somewhat like this:

{
    "root": "name_of_root_cell",
    "cells": {
        "name_of_root_cell": {
            "desc": {...},
            "cells": [ <list of all cells referenced by this cell (with origin, angle etc.)>  ]
        },
        "other_cell": {
            "desc": {...},
            "cells": [ <list of all cells referenced by this cell (with origin, angle etc.)>  ]
        },
    }
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant