Deleted unnecessary registers in encoder module