vhdl: Stop using trashbox and correctly parse EOF