The-OpenROAD-Project / OpenROAD

OpenROAD's unified application implementing an RTL-to-GDS Flow. Documentation at https://openroad.readthedocs.io/en/latest/
https://theopenroadproject.org/
BSD 3-Clause "New" or "Revised" License
1.38k stars 485 forks source link

odb: provide dbuToMicrons for various datatypes to avoid casting errors #5110

Closed gadfort closed 2 weeks ago

gadfort commented 2 weeks ago

Fixes overflow:

original HPWL         -964503.2 u
legalized HPWL       -2147483.6 u

->

original HPWL         3330464.1 u
legalized HPWL        3341133.7 u
maliberty commented 2 weeks ago

Please fix the clang-tidy but otherwise fine.

github-actions[bot] commented 2 weeks ago

clang-tidy review says "All clean, LGTM! :+1:"