From 49c713e493caa01993089a8f82e870b9993b2f83 Mon Sep 17 00:00:00 2001 From: James Cherry Date: Thu, 30 May 2024 09:39:11 -0700 Subject: [PATCH] issue34 get_property liberty_cell area Signed-off-by: James Cherry --- search/Property.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/search/Property.cc b/search/Property.cc index 42b5ed87..1dc6f0fd 100644 --- a/search/Property.cc +++ b/search/Property.cc @@ -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); }