OpenDB icon indicating copy to clipboard operation
OpenDB copied to clipboard

Load additional data into a block with a DEF file

Open Colin-Holehouse opened this issue 4 years ago • 5 comments

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.

Colin-Holehouse avatar Oct 26 '19 15:10 Colin-Holehouse

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?

abdelrahmanhosny avatar Oct 26 '19 19:10 abdelrahmanhosny

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.

Colin-Holehouse avatar Oct 26 '19 20:10 Colin-Holehouse

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?

ahmed-agiza avatar Oct 27 '19 03:10 ahmed-agiza

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

Colin-Holehouse avatar Oct 27 '19 08:10 Colin-Holehouse

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

ahmed-agiza avatar Oct 27 '19 16:10 ahmed-agiza