Skip to content

Added support for EQUIVALENCE_CHECK_USE_LIBS#3370

Closed
Cronus-38 wants to merge 1 commit into
The-OpenROAD-Project:masterfrom
Cronus-38:eqy_use_libs
Closed

Added support for EQUIVALENCE_CHECK_USE_LIBS#3370
Cronus-38 wants to merge 1 commit into
The-OpenROAD-Project:masterfrom
Cronus-38:eqy_use_libs

Conversation

@Cronus-38

Copy link
Copy Markdown

By default, equivalence checking uses the verilog simulation models. The EQUIVALENCE_CHECK_USE_LIBS variable can be used to force the tool to instead do equivalence checking using .lib files.

Along with the code change to load.tcl I've included a test script at flow/tests/test_eqy_use_lib.sh. The comments at the top of that file explain the usage of EQUIVALENCE_CHECK_USE_LIBS.

@maliberty maliberty requested a review from povik August 1, 2025 01:15
@povik

povik commented Aug 1, 2025

Copy link
Copy Markdown
Contributor

@Cronus-38 Thanks for opening this. Any new variables need to be documented in flow/scripts/variables.yaml but I think instead of introducing the new variable we could always use .lib definitions for equivalence checking. I see you have provided a way to override what the .lib should be instead of relying on LIB_FILES. What is the use case for the override?

@Cronus-38

Cronus-38 commented Aug 1, 2025 via email

Copy link
Copy Markdown
Author

@maliberty

Copy link
Copy Markdown
Member

If all parties agree it is the right thing to just switch then I don't think we need a flag. We can always add one later if a need arises.

Please fix the DCO (see the details link)

@povik

povik commented Aug 2, 2025

Copy link
Copy Markdown
Contributor

If you’re confident that it won’t break anything to simply use the .lib files by default in all cases then I’m 100% cool with that!

I think we can do the switch and deal with any odd cases if they arise.

@povik

povik commented Aug 4, 2025

Copy link
Copy Markdown
Contributor

@Cronus-38 Without the flag the switch to .lib reduces to a simple change. I've staged it in #3377 and I'll close your PR in favor of the other one.

@povik povik closed this Aug 4, 2025
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