Add necessary reg and ports