Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initialize area stats in stat pass #4587

Merged
merged 1 commit into from
Sep 9, 2024
Merged

Initialize area stats in stat pass #4587

merged 1 commit into from
Sep 9, 2024

Conversation

hnpl
Copy link
Contributor

@hnpl hnpl commented Sep 8, 2024

Currently, the area variables in the stat struct are not initialized. This caused the area stats occasionally being an erroneous value.

I got the following output when synthesizing a two-bit flip-flop using SKY130 PDK,

Chip area for module '\main': 40.038400
     of which used for sequential elements: -nan (-nan%)

Currently, the area variables in the stat struct are not initialized.
This caused the area stats occasionally being an erroneous value.

Signed-off-by: Hoa Nguyen <[email protected]>
@povik povik merged commit 982fade into YosysHQ:main Sep 9, 2024
22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants