UCLONG / NetEmulation

Software Simulation and Hardware Synthesis of Electrical and Optical Interconnection Networks
GNU General Public License v3.0
9 stars 6 forks source link

Vivado error: conditional expression could not be resolved to a constant #20

Closed DannyNicholls closed 10 years ago

DannyNicholls commented 10 years ago

Has anyone had this error using vivado? It seems to not like my generate loops.

DannyNicholls commented 10 years ago

It appears to be something to do with assigning values from `define compiler directives that are then used in generate loops. I guess it's some kind of precedence fault. Replacing the variables with numbers fixes the problem.

DannyNicholls commented 10 years ago

This appears to have sorted itself out.