[prim/rtl] prim_packer is generating a lint error for entropy_src module
Getting this lint error message: E ASSIGN_SIGN: prim_packer.sv:77 Unsigned target 'lod_idx' assigned signed value 'i'
Should this be waived or fixed? @eunchan Is this issue for you to address?
This could be fixed with `unsigned(i) or $unsigned(i), or waived. Can you see if one of the first two fixes it for you? Then you could include that fix in your next PR.
Just amended the prior PR, since the unsigned fix was not done correctly. Used the $unsigned(i) form.
@mwbranstad is this still a problem for you? I'm guessing not since you switched to your own brand of packer. @eunchan should we fix this in the other version?
Personally, I prefer waive this kind of thing :) Let me address this in KMAC lint
yeah waiving is fine too with me.
On Thu, Sep 24, 2020 at 1:25 PM Eunchan Kim [email protected] wrote:
Personally, I prefer waive this kind of thing :) Let me address this in KMAC lint
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/lowRISC/opentitan/issues/2999#issuecomment-698570047, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAH2RSWQ5N5X3SQ3VA2HV23SHOTKNANCNFSM4PKVBK6Q .
for what it is worth, I generally prefer to fix these things in RTL because it is more portable to all future checkers, and it also shows that you have a full understanding of the issue (sometimes we think we do and don't unfortunately). Still, sometimes in a parametrized design, one cannot fix it due to limits in the language, so a waiver is needed.
Since the prim_packer_fifo was used in this specific case, it is safe to close this issue now.