Forum Discussion
Altera_Forum
Honored Contributor
17 years agoHi,
Obviously you need a clocked process as appropriate, I am just talking about the algorithm. at each statement of "multiply" the compiler synthesizes a multiplier. If on the other hand you mux the input to one multiplier you get one mult for same functionality: mult_out <= a * mult_in; if condition1 mult_in <= b elsif condition2 mult_in <= c else mult_in <= d end kaz