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

Incorrect indexes in Liberty file (timing constraint group) #28

Open
vermut42 opened this issue Jan 21, 2024 · 1 comment
Open

Incorrect indexes in Liberty file (timing constraint group) #28

vermut42 opened this issue Jan 21, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@vermut42
Copy link

After test run I see that templates in Liberty file:
lu_table_template (hold_template_5x5) {
variable_1 : related_pin_transition;
variable_2 : constrained_pin_transition;
index_1 ("0.015, 0.04, 0.08, 0.2, 0.4");
index_2 ("0.06, 0.18, 0.42, 0.6, 1.2");
}
lu_table_template (setup_template_5x5) {
variable_1 : related_pin_transition;
variable_2 : constrained_pin_transition;
index_1 ("0.015, 0.04, 0.08, 0.2, 0.4");
index_2 ("0.06, 0.18, 0.42, 0.6, 1.2");
}
lu_table_template (delay_template_5x5) {
variable_1 : input_net_transition;
variable_2 : total_output_net_capacitance;
index_1 ("0.015, 0.04, 0.08, 0.2, 0.4");
index_2 ("0.06, 0.18, 0.42, 0.6, 1.2");
}

index_2 in "delay" section numerically equal index_2 in "setup" and "hold" section. This behavior doesn't match Liberty standard.
I see two ways to solve this problem:

  1. Make index_2 in "setup" and "hold" section equal to index_1, because in this case both indexes refer to slews (data and clock)
  2. Add way to set array of clock slews separately
@infinitymdm
Copy link
Collaborator

I believe your second solution is the correct way to do this (off the top of my head - need to check the standard). Thanks for posting the issue!

@infinitymdm infinitymdm added the bug Something isn't working label Apr 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants