modified memory and CPU.hdl