VHDL processes, resets, and rising edges
p-code.org