Can't unroll generate for with complicated incrementer/init/test
|Assignee:||Wilson Snyder||% Done:|
The following for loop:
genvar x; ... for( x = 1; x < 24; x = ( x == 5 ) ? 10 : x + 1 )Generates an error
Unsupported: Can't unroll generate for; missing add/sub for incrementer For loop doesn't have genvar index, or is malformed
#1 Updated by Wilson Snyder about 2 years ago
- Category changed from Parser to Unsupported
- Status changed from New to Assigned
- Assignee set to Wilson Snyder
Yes, the unroller is currently pretty stupid. I'll get to this, but it is unlikely to be in the next month as it is a fairly large chunk of work.
#3 Updated by Wilson Snyder 10 months ago
- Subject changed from Can't unroll generate for with complicated incrementer to Can't unroll generate for with complicated incrementer/init/test
Note the unroller also requires a simple initialization and condition.
If someone would like to try to patch this I can provide guidance; it should be a fairly easy starter project.