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.35k stars 481 forks source link

fix crash for commands when no design were loaded #5037

Closed arthurjolo closed 2 weeks ago

arthurjolo commented 2 weeks ago

Fixes #4993

This PR adds a check on commands to prevent them from crashing if no design was loaded.

github-actions[bot] commented 2 weeks ago

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

github-actions[bot] commented 2 weeks ago

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