Added support for EQUIVALENCE_CHECK_USE_LIBS#3370
Conversation
|
@Cronus-38 Thanks for opening this. Any new variables need to be documented in |
|
@povik Honestly, I can’t think of a scenario in which using the .lib files instead of the verilog sim models would cause a problem. I was just giving users the ability to exercise direct control out of an abundance of paranoia. 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!
From: Martin Povišer ***@***.***>
Sent: Friday, August 1, 2025 12:56 PM
To: The-OpenROAD-Project/OpenROAD-flow-scripts ***@***.***>
Cc: Dillard, Cronus [USA] ***@***.***>; Mention ***@***.***>
Subject: [External] Re: [The-OpenROAD-Project/OpenROAD-flow-scripts] Added support for EQUIVALENCE_CHECK_USE_LIBS (PR #3370)
povik left a comment (The-OpenROAD-Project/OpenROAD-flow-scripts#3370) @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
[Image removed by sender.]povik left a comment (The-OpenROAD-Project/OpenROAD-flow-scripts#3370)<https://urldefense.us/v3/__https:/github.com/The-OpenROAD-Project/OpenROAD-flow-scripts/pull/3370*issuecomment-3145624242__;Iw!!DJ_L93zn18-Ojg!nvRfNZ_VdovjbCSt3-jiN3-1tRnG5C2hWjQH99p4QkA-cRFBiJ-sL7mYYy_DCbcQx3vUTGZYKPUrD8afp9IUk3hPQX-CbIc$>
@Cronus-38<https://urldefense.us/v3/__https:/github.com/Cronus-38__;!!DJ_L93zn18-Ojg!nvRfNZ_VdovjbCSt3-jiN3-1tRnG5C2hWjQH99p4QkA-cRFBiJ-sL7mYYy_DCbcQx3vUTGZYKPUrD8afp9IUk3hPjwWYk9s$> 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?
—
Reply to this email directly, view it on GitHub<https://urldefense.us/v3/__https:/github.com/The-OpenROAD-Project/OpenROAD-flow-scripts/pull/3370*issuecomment-3145624242__;Iw!!DJ_L93zn18-Ojg!nvRfNZ_VdovjbCSt3-jiN3-1tRnG5C2hWjQH99p4QkA-cRFBiJ-sL7mYYy_DCbcQx3vUTGZYKPUrD8afp9IUk3hPQX-CbIc$>, or unsubscribe<https://urldefense.us/v3/__https:/github.com/notifications/unsubscribe-auth/BJAGM7577WGYIQNMWJLTCP33LPA63AVCNFSM6AAAAACC3LRWM2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTCNBVGYZDIMRUGI__;!!DJ_L93zn18-Ojg!nvRfNZ_VdovjbCSt3-jiN3-1tRnG5C2hWjQH99p4QkA-cRFBiJ-sL7mYYy_DCbcQx3vUTGZYKPUrD8afp9IUk3hPGoSLym8$>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
|
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) |
I think we can do the switch and deal with any odd cases if they arise. |
|
@Cronus-38 Without the flag the switch to |
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.