Question: what is the difference between signal and variable in vhdl?
Answer: Signals vs. ... Variables can only be used inside processes, signals can be used inside or outside processes. Any variable that is created in one process cannot be used in another process, signals can be used in multiple processes though they can only be assigned in a single process.