Sigasi Studio can check for a number of loop-related problems:
- Infinite loop missing a wait (rule 20). Note that infinite
forloops will not be checked by this rule.
process begin loop -- statements go here end loop; end process; process begin loop -- statements go here wait for 1 ns; end loop; end process;
- Empty loop statement (rule 190): the loop body doesn’t contain any statements
for loopvar in loop -- nothing going on here... end loop;
forloops that will not execute due to a loop variable with a null range will be flagged with the Null range linting rule.
These rules can be disabled for your project, or their severity and parameters can be modified in the project linting settings. Alternatively, they can be manually configured with the following template: