get_die_core_info
暂无简介
- License 许可
- Apache-2.0
- 最近更新
- 2026-10-26
- Stars
- ★ 2
- Forks
- 0
03 SKILL.md 正文
Get die and core dimensions
Before planning positions, you need the canvas size.
set block [ord::get_db_block]
set dbu [[ord::get_db_tech] getDbUnitsPerMicron]
set die [$block getDieArea]
set core [$block getCoreArea]
set die_w [expr ([$die xMax] - [$die xMin]) / double($dbu)]
set die_h [expr ([$die yMax] - [$die yMin]) / double($dbu)]
set core_w [expr ([$core xMax] - [$core xMin]) / double($dbu)]
set core_h [expr ([$core yMax] - [$core yMin]) / double($dbu)]
puts [format "DBU per micron: %d" $dbu]
puts [format "Die : %.3f x %.3f um (area = %.3f um^2)" \
$die_w $die_h [expr $die_w * $die_h]]
puts [format "Core : %.3f x %.3f um (area = %.3f um^2)" \
$core_w $core_h [expr $core_w * $core_h]]
puts [format "Core origin: (%.3f, %.3f)" \
[expr [$core xMin]/double($dbu)] [expr [$core yMin]/double($dbu)]]
All OpenROAD geometry is in DBU (database units) internally; divide by
dbu to get microns.
04 同仓库更多 Skills
openroad-image-snapshot
Whole-die layout snapshot for any checkpoint: the executable template reads an ODB, expands the die box by a margin so boundary pins stay visible, and saves a PNG. The Worker runs it after every stage; it can also be run standalone on any saved checkpoint.
macro_pin_side
暂无简介
image_snapshot
暂无简介
get_macro_current_location
暂无简介
5.optimizer
暂无简介
post-route-timing-check
Check post-route static timing (TNS/WNS) in OpenROAD to decide whether a macro placement exploration iteration is done. Use this skill whenever the user is running macro placement exploration, sweeping floorplans, or asking whether a placement run is "good enough to stop" — anytime post-route timing in OpenROAD needs to be read and compared against a goal, even if the user doesn't explicitly say "TNS" or "WNS".