Altera_Forum
Honored Contributor
9 years agoHow to call a module from an always block?
Hey guys!
I am trying to implement a 32-bit ALU. I have different modules for the adder, subtractor, multiplier and divider. Now the problem is based on a select line input (S) I have to decide which operation must be performed. But if I use the if/case statements I cannot call the modules from inside the always block. So is there any other way in which I can call these modules using the select line input? Thanks in advance! :)