Completed nios2int @ dtek13 and added comments