Added remainder and error to fsm.v. Will have to update generated pcore to have more registers, haha.