This might be stupid question, but how would I cal...
# caravel
t
This might be stupid question, but how would I call dbp APIs in the caravel flow ? For instance, I want to place a certain instance (DFF) at a certain location (close to SRAM output) and fix it. Where would I start making the changes. Thanks a lot, Tobias
a
Look at OpenDBs testes in OpenROAD repository. I also did not find any proper docs, but the C++ api matches the tcl api
m
@Tobias Strauch You can specify macro locations with the following config variable
Copy code
### Macro Placement
set ::env(MACRO_PLACEMENT_CFG) $script_dir/macro.cfg
And then list them in the
macro.cfg
file. Ex
Copy code
uprj 1175 1690 N
a
Its not macro, its standard cell
t
Thank you for your reply, Mitch. Sure, this is how I do it with the 13 SRAMs and one custom macro in my WaveSync project. What I want to do is placing netlist instances like DFFs, buffers, etc. at certain locations etc. Also other nasty, classical layout tasks where I need the dbp APIs (defining placement blocking areas, etc.) for. Cheers !
m
Whoops.
m
The APIs in db.h are swigged to TCL.
t
Thank you for your replies. You are very funny, guys, I have no glue what you are talking about, but I will do my best to follow your advise and dig into it in the next couple of days. Thanks again.