write_timing_model interface_timing true

Signed-off-by: James Cherry <cherry@parallaxsw.com>
This commit is contained in:
James Cherry 2023-07-27 22:31:55 -07:00
parent e3743783bd
commit 0a90cf6d0d
2 changed files with 3 additions and 0 deletions

View File

@ -273,6 +273,8 @@ LibertyWriter::writeCell(const LibertyCell *cell)
fprintf(stream_, " area : %.3f \n", area);
if (cell->isMacro())
fprintf(stream_, " is_macro : true;\n");
if (cell->interfaceTiming())
fprintf(stream_, " interface_timing : true;\n");
LibertyCellPortIterator port_iter(cell);
while (port_iter.hasNext()) {

View File

@ -153,6 +153,7 @@ void
MakeTimingModel::makeCell()
{
cell_ = lib_builder_->makeCell(library_, cell_name_, filename_);
cell_->setInterfaceTiming(true);
}
void