The set_reset_prid method sets the corresponding PRID register,
which gets assigned during reset. The value is also exposed by the
reset_prid attribute.
The set_alternative_reset_vector method sets the address
from which the alternative reset starts executing after reset, when the
reset_select pin is high. The value is also exposed in the
alternative_reset_vector attribute.
Both methods return a bool, indicating if they were successful or not. A false return indicates that the associated Xtensa options are not included in the model.
SIM_INTERFACE(xtensa_reset_configure) {
bool (*set_reset_prid)(conf_object_t *obj, uint16 prid_value);
bool (*set_alternative_reset_vector)(conf_object_t *obj, uint32 vector_address);
};
#define XTENSA_RESET_CONFIGURE_INTERFACE "xtensa_reset_configure"