dhivya34
Junior Member level 1
Hi,
When I use the normal for loop in verilog with the loop variable declared as a wire I get the following error
'i' is an invalid type in Generate loop. Must be a genvar
Hence I changed the loop variable i as genvar. I got the following error.
The for-generate loop scope genblk1[2] already exists
Help me fix this!
When I use the normal for loop in verilog with the loop variable declared as a wire I get the following error
'i' is an invalid type in Generate loop. Must be a genvar
Hence I changed the loop variable i as genvar. I got the following error.
The for-generate loop scope genblk1[2] already exists
Help me fix this!