Forum Discussion
Altera_Forum
Honored Contributor
10 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 w...
Altera_Forum
Honored Contributor
10 years agoEach of your modules can have an enable signal. Each case needs to set one of the enables and clear the others. You can do the same for the data in/out or use mixes.