Forum Discussion
Altera_Forum
Honored Contributor
13 years agoI am getting error while instantiating modules on condition with the default module. it is giving error if i instantiate default mode.
the code is much similar to this: module top(//parameters); addition u0(//parameters passing); line 2 'ifdef(flag) sum u1(//passing the parameters); 'else subtract u2(//passing the parameters); 'endif endmodule if the module addition-u0 is removed, then only code is working properly. but i need to operate before conditional execution. plz help me.:cry: