pcie_map pmr
API Reference Manual  /  4 Model-to-Model Interfaces  / 

pcie_port_control

Description
This interface is used to configure instances of the pcie-downstream-port

The set_secondary_bus_number method should be called whenever the Secondary Bus Number register in the Type 1 Configuration Header of this downstream port changes.

The hot_reset method sends a hot reset to all downstream devices

Note: This interface is considered tech-preview and may change without notice.

SIM_INTERFACE(pcie_port_control) {
        void (*set_secondary_bus_number)(conf_object_t *obj, uint64 value);
        void (*hot_reset)(conf_object_t *obj);
};

#define PCIE_PORT_CONTROL_INTERFACE "pcie_port_control"

Execution Context
Cell Context for all methods.

pcie_map pmr