Forum Discussion
Altera_Forum
Honored Contributor
18 years agoHello,
in the shown code, not only alu, but also tempL and tempR have multiple drivers. In concurrent code part, you are not allowed to make multiple assignment to a signal. I assume, you are intending a process, but it must coded as such. Furthermore, you can't use the multiplexer component in a process, but you could use a similar function instead. For temporary results, you must variables with variable assignment operator ":=". It would be allowed to make multiple assignments to a signal as in the example, but not with the intended effect of creating an intermediate result. Regards, Frank