xtensa_output_queue xtensa_tie_export_state
API Reference Manual  /  4 Model-to-Model Interfaces  / 

xtensa_reset_configure

Description
This interface is implemented by the Xtensa core, allowing external devices to programmatically change some aspects of how the reset should be handled during run-time.

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"

Execution Context
Threaded Context for all methods.

xtensa_output_queue xtensa_tie_export_state