Fix instruction memory ports
Add command unit