5.2.1. Software Features
Pre-compiler software feature | Parameter | Description |
---|---|---|
Polling for completion timeout, interval | add_sw_setting decimal_number public_mk_define completion_poll_cycle INTEL_SSGDMA_COMPLETION_POLL_TIMEOUT -1 |
Set timeout when polling for completion. Set -1 to disable timeout. Default value is -1. This should be used with completion_poll_timeout_us. |
add_sw_setting decimal_number public_mk_define completion_poll_timeout_µs INTEL_SSGDMA_COMPLETION_POLL_INTERVAL_US 100 |
Timeout interval in “µs”. Only valid if completion_poll_cycle >0. Default value is 100µs. |
|
Reset prefetcher timeout, interval | add_sw_setting decimal_number public_mk_define polling_timeout_cycle INTEL_SSGDMA_POLLING_TIMEOUT -1 |
Set timeout when polling for transfer complete status. Set -1 to disable timeout. Default value is -1. This should be used with INTEL_SSGDMA_POLLING_INTERVAL_US. |
add_sw_setting decimal_number public_mk_define reset_prefetcher_timeout_us INTEL_SSGDMA_RESET_PREFETCHER_INTERVAL_US 100 |
Timeout interval in “µs”. Only valid if reset_prefetcher_timeout_cycle > 0. Default value is 100µs. |
|
Soft paused timeout, interval | add_sw_setting decimal_number public_mk_define soft_paused_timeout_cycle INTEL_SSGDMA_SOFT_PAUSED_TIMEOUT -1 |
Set timeout for soft pause. Set -1 to disable timeout. Default value is -1. This should be used with soft_paused_timeout_us. |
add_sw_setting decimal_number public_mk_define soft_paused_timeout_us INTEL_SSGDMA_SOFT_PAUSED_INTERVAL_US 100 |
Timeout interval in µs. Only valid if soft_paused_timeout_cycle > 0. Default value is 100µs. |
|
Soft reset timeout, interval | add_sw_setting decimal_number public_mk_define soft_reset_timeout_cycle INTEL_SSGDMA_SOFT_RESET_TIMEOUT -1 |
Set timeout for soft reset. Set -1 to disable timeout. Default value is -1. This should be used with soft_reset_timeout_us. |
add_sw_setting decimal_number public_mk_define soft_reset_timeout_us INTEL_SSGDMA_SOFT_RESET_INTERVAL_US 100 |
Timeout interval in µs. Only valid if soft_reset_timeout_cycl > 0. Default value is 100µs. |
|
Auto configure driver with IP Parameters from hardware | add_sw_setting decimal_number public_mk_define auto_conf_sw INTEL_SSGDMA_AUTO_CONF_SW false |
Enable to auto configure driver with IP parameters from hardware. Configurations are number of ports and unaligned access. This gives the flexibility to change the hardware without regenerating the software.
Note: Parameters in system.h might not represent the actual configured value in Platform Designer.
If disabled and the hardware configuration does not match with the generated software, the driver blocks all attempts to setup with intel_ssgdma_setup_device_port. |
Reset at init | add_sw_setting decimal_number public_mk_define enable_reset_at_init INTEL_SSGDMA_ENABLE_RESET_AT_INIT false |
Enable this to soft reset for during initialization. This resets the IP with a default parameter after initialization. |
Debug message | add_sw_setting decimal_number public_mk_define enable_debug_message INTEL_SSGDMA_ENABLE_DEBUG_MESSAGE false |
Enable this to print debug messages of intel ssgdma to stdout. |
CSR byte access | add_sw_setting boolean_define_only public_mk_define csr_byte_access INTEL_SSGDMA_CSR_BYTE_ACCESS true |
If this is disabled, the platform does not support byte or word accesses. |