Skip to content
This repository has been archived by the owner on Jan 26, 2021. It is now read-only.

Load additional data into a block with a DEF file #15

Open
Colin-Holehouse opened this issue Oct 26, 2019 · 5 comments
Open

Load additional data into a block with a DEF file #15

Colin-Holehouse opened this issue Oct 26, 2019 · 5 comments
Labels
enhancement New feature or request

Comments

@Colin-Holehouse
Copy link
Contributor

Need to have a function available from TCL to load a DEF file that will append it's data into an existing design.

Currently apply_pdn works by generating a DEF file, then merging it with the original input DEF file. This capability is available in existing EDA tools.

@abdelrahmanhosny
Copy link
Contributor

I think reading DEF does not re-initialize the database object internally. So, it should work fine if we chain multiple read_def commands.

@ahmed-agiza can you confirm? or the database does not support reading multiple DEFs into the same db object?

@Colin-Holehouse
Copy link
Contributor Author

Yes, but at the moment, it seems like the only choices of commands I have at the TCL level are fto create chip/block, none to add to existing data.

@ahmed-agiza
Copy link
Contributor

But you can invoke defin to create another chip, or block from another file into the same database (with another block as parent if needed), can you elabore more on your test case?

@Colin-Holehouse
Copy link
Contributor Author

I have 2 def files containing different information for the same block. I want to load both def files resulting in 1 block containing the combination of data from both defs

The enclosed tarfile contains 2 defs for the same block gcd. The end ressult needs to be one block in OpenDB called gcd containing the floorplan informatin plus the power grid.

combine.tar.gz

@ahmed-agiza
Copy link
Contributor

I see your point, it is not there out of the box but we will try to support it soon.

@abdelrahmanhosny abdelrahmanhosny added the enhancement New feature or request label Oct 30, 2019
tspyrou pushed a commit that referenced this issue Dec 16, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants