Skip to content

Commit

Permalink
Latchfix
Browse files Browse the repository at this point in the history
  • Loading branch information
akashlevy committed Dec 18, 2024
1 parent 8539142 commit 42a7646
Show file tree
Hide file tree
Showing 5 changed files with 706 additions and 2 deletions.
11 changes: 9 additions & 2 deletions liberty/LibertyReader.cc
Original file line number Diff line number Diff line change
Expand Up @@ -3974,8 +3974,15 @@ LibertyReader::seqPortNames(LibertyGroup *group,
else if (i == 1)
out_inv_name = value->stringValue();
else if (i == 2) {
size = static_cast<int>(value->floatValue());
has_size = true;
if (value->isFloat()) {
size = static_cast<int>(value->floatValue());
has_size = true;
}
else {
// Shift values
out_name = out_inv_name;
out_inv_name = value->stringValue();
}
}
i++;
}
Expand Down
Loading

0 comments on commit 42a7646

Please sign in to comment.