Closed stephenry closed 4 years ago
Thank you for taking the time to report this issue! I don't think I can properly track it down without seeing the declarations for dealloc_spec
and dealloc
. Could you share them with me?
Hi Zach,
Thanks for your help. The following self-contained example reproduces the problem:
Thank you for sharing that with me. The conversion responsible for determining the types of certain expressions did not appropriately handle bit/range select expressions whose types were aliases that had not yet been fully resolved. Your given example now converts successfully, save for resolving the type of thread_t
, which appears to be missing.
As a side note, sv2v supports and validates closing tags on procedural blocks, so you could replace:
end // block: dealloc_cntrl_PROC
with:
end : dealloc_cntrl_PROC
That did the trick! Thank you for your help!
Running latest SV2V I see the following error message:
Failing code appears to be the "if (dealloc_spec_vld)..." and "if (dealloc_vld)..." statements in the code below: