issue34 get_property liberty_cell area

Signed-off-by: James Cherry <cherry@parallaxsw.com>
This commit is contained in:
James Cherry 2024-05-30 09:39:11 -07:00
parent e5e33ccb0d
commit 49c713e493
1 changed files with 1 additions and 1 deletions

View File

@ -636,7 +636,7 @@ getProperty(const LibertyCell *cell,
else if (stringEqual(property, "dont_use"))
return PropertyValue(cell->dontUse());
else if (stringEqual(property, "area"))
return PropertyValue(cell->area());
return PropertyValue(cell->area(), sta->units()->scalarUnit());
else
throw PropertyUnknown("liberty cell", property);
}