Variables in VHDL

This will set you on your way
Read also the other replies …