Fix off-by-one in adapter.vhdl.