Update docs and make requested changes
This commit is contained in:
parent
85ae6b6d27
commit
a3f7231acb
BIN
doc/OpenSTA.odt
BIN
doc/OpenSTA.odt
Binary file not shown.
|
|
@ -889,7 +889,7 @@ getProperty(const Instance *inst,
|
|||
Sta *sta)
|
||||
{
|
||||
auto network = sta->cmdNetwork();
|
||||
LibertyCell *libertyCell = network->libertyCell(inst);
|
||||
LibertyCell *liberty_cell = network->libertyCell(inst);
|
||||
if (stringEqual(property, "name"))
|
||||
return PropertyValue(network->name(inst));
|
||||
else if (stringEqual(property, "full_name"))
|
||||
|
|
@ -903,15 +903,15 @@ getProperty(const Instance *inst,
|
|||
else if (stringEqual(property, "is_hierarchical"))
|
||||
return PropertyValue(network->isHierarchical(inst));
|
||||
else if (stringEqual(property, "is_buffer"))
|
||||
return PropertyValue(libertyCell && libertyCell->isBuffer());
|
||||
return PropertyValue(liberty_cell && liberty_cell->isBuffer());
|
||||
else if (stringEqual(property, "is_clock_gate"))
|
||||
return PropertyValue(libertyCell && libertyCell->isClockGate());
|
||||
return PropertyValue(liberty_cell && liberty_cell->isClockGate());
|
||||
else if (stringEqual(property, "is_inverter"))
|
||||
return PropertyValue(libertyCell && libertyCell->isInverter());
|
||||
return PropertyValue(liberty_cell && liberty_cell->isInverter());
|
||||
else if (stringEqual(property, "is_macro"))
|
||||
return PropertyValue(libertyCell && libertyCell->isMacro());
|
||||
return PropertyValue(liberty_cell && liberty_cell->isMacro());
|
||||
else if (stringEqual(property, "is_memory_cell"))
|
||||
return PropertyValue(libertyCell && libertyCell->isMemory());
|
||||
return PropertyValue(liberty_cell && liberty_cell->isMemory());
|
||||
else
|
||||
throw PropertyUnknown("instance", property);
|
||||
}
|
||||
|
|
@ -1178,14 +1178,8 @@ getProperty(Clock *clk,
|
|||
return PropertyValue(clk->name());
|
||||
else if (stringEqual(property, "period"))
|
||||
return PropertyValue(clk->period(), sta->units()->timeUnit());
|
||||
else if (stringEqual(property, "sources"))
|
||||
else if (stringEqual(property, "source_pins"))
|
||||
return PropertyValue(clk->pins());
|
||||
else if (stringEqual(property, "generated"))
|
||||
return PropertyValue(clk->isGenerated());
|
||||
else if (stringEqual(property, "virtual"))
|
||||
return PropertyValue(clk->isVirtual());
|
||||
else if (stringEqual(property, "propagated"))
|
||||
return PropertyValue(clk->isPropagated());
|
||||
else if (stringEqual(property, "is_generated"))
|
||||
return PropertyValue(clk->isGenerated());
|
||||
else if (stringEqual(property, "is_virtual"))
|
||||
|
|
|
|||
Loading…
Reference in New Issue