Forum Discussion
Altera_Forum
Honored Contributor
15 years agoArithmetic Operators in vhdl
Hi everyone, Can arithmetic operators(such as '+','-',etc.) only be used within process statement? If yes, why?Thanks.
Altera_Forum
Honored Contributor
15 years agoyou can use them in functions and procedures too.
basically, anything in the architecture is a process, just if its placed outside an explicit process it is an implicit process sensitive to all the signals on the RHS: a <= b * c; is the same as: process(b, c) begin a <= b * c; end process;