Original vhdl-code