HDL Coder™ supports the following control flow statements and constructs with restrictions.
Control Flow Statement | Restrictions |
---|---|
| Do not use Do not use the HDL Coder does
not support nonscalar expressions in the conditions of |
if | Do not use the HDL Coder
does not support nonscalar expressions in the conditions of |
switch | The conditional expression in a
If multiple |
The following control flow statements are not supported:
while
break
continue
return
parfor
Avoid using the following vector functions, as they may generate
loops containing break
statements:
isequal
bitrevorder