spi_engine: Remove nonexistent interface, add dep (#1289)

Remove nonexistant pulse_gen_* interface on axi_spi_engine_hw.
Add sync_event.v to spi_engine_offload's intel_deps.
Fixes simultation on questasim.

Signed-off-by: Jorge Marques <jorge.marques@analog.com>
main
Jorge Marques 2024-04-12 09:17:18 -03:00 committed by GitHub
parent 22ff237010
commit a2a8518911
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 2 additions and 6 deletions

View File

@ -109,12 +109,6 @@ proc p_elaboration {} {
}
ad_interface signal pulse_gen_period output 32
ad_interface signal pulse_gen_width output 32
ad_interface signal pulse_gen_load output 1
lappend disabled_intfs if_pulse_gen_period if_pulse_gen_width if_pulse_gen_load
foreach interface $disabled_intfs {
set_interface_property $interface ENABLED false
}

View File

@ -21,6 +21,7 @@ XILINX_LIB_DEPS += util_cdc
XILINX_INTERFACE_DEPS += spi_engine/interfaces
INTEL_DEPS += ../../util_cdc/sync_bits.v
INTEL_DEPS += ../../util_cdc/sync_event.v
INTEL_DEPS += spi_engine_offload_hw.tcl
include ../../scripts/library.mk

View File

@ -10,6 +10,7 @@ source ../../scripts/adi_ip_intel.tcl
ad_ip_create spi_engine_offload {SPI Engine Offload} p_elaboration
ad_ip_files spi_engine_offload [list\
$ad_hdl_dir/library/util_cdc/sync_bits.v \
$ad_hdl_dir/library/util_cdc/sync_event.v \
spi_engine_offload.v]
# parameters