ammar_kurd
Junior Member level 3
Say I have number of modules (mod0(x,y), mod1(x,y), mod2(x,y), ...) can I instantiate those modules in the test-bench by using a for loop?
I that possible?
Code Verilog - [expand] 1 2 3 4 for (i = 0; i < n; i = i+1; ) // here instantiate modules by somehow constructing the module name (mod+i) and an instance of // the module. end
I that possible?