-
Notifications
You must be signed in to change notification settings - Fork 69
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
Surelog Not Flagging Missing Time Delays, and Undefined Property References #3814
Comments
This is the UHDM tree generated by Surelog:
You can see that in the absence of a property definition Surelog created a logic_net. To detect such an incorrect type binding. |
@alaindargelas Thank you for pointing out the logic_net creation in the absence of a property definition. I understand that creating a linter rule in the UHDM Linter can help in detecting such incorrect type bindings. I'm currently working on providing additional examples to highlight and tackle several other Surelog issues. |
Assertion Failures in Version 1.74 (Sep 13, 2023) During Property Verification with ##delay, assertions operators, sequences. |
Property_decls are now modeled. |
Sequence support has been added to UHDM. |
@Divya2030 , please check the current support. |
@Divya2030 all examples provided generate the correct UHDM model. What is next? |
Version: 1.75 Examples that were expected to fail in Surelog during property verification with ##delay did not produce any failures. Additionally, an error with bind instance was encountered. Examples: |
Regarding assert property (p_clk_out_toggle);, there is a new linting check that reports the missing property binding. Regarding Ex1.zip, you forgot to give all the files on the command line, you need to specify all the verilog files, then the compilation error goes away. Regarding Ex2.zip, I added a new linting check that reports the same errror about misuse of sequence. |
Original Tests Link
clock_divider_original.zip
1. Property missing delay operator (##8) passes without error on line 39 clock_divider.sv
clock_divider_ex2.zip
2. Surelog does not detect error for assertion of commented-out property
clock_divider_ex3.zip
I encountered unexpected behavior when working with a property in my clock_divider.sv code. Specifically, I had:
a. Commented out a property (p_clk_out_toggle in my code).
b. Left the corresponding assert property statement active and uncommented.
Given this configuration, I expected Surelog to raise an error due to the reference to the undefined (commented-out) property. However, Surelog did not flag any issues.
The text was updated successfully, but these errors were encountered: