From cba3c0f4f1f00876f3ebc2aa2487099694bdc87d Mon Sep 17 00:00:00 2001 From: Istvan Csomortani Date: Tue, 8 Sep 2020 10:16:23 +0100 Subject: [PATCH] spi_engine_offload: Define status_sync interface --- .../spi_engine_offload/spi_engine_offload_hw.tcl | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/library/spi_engine/spi_engine_offload/spi_engine_offload_hw.tcl b/library/spi_engine/spi_engine_offload/spi_engine_offload_hw.tcl index 97bacdd32..6320df72c 100644 --- a/library/spi_engine/spi_engine_offload/spi_engine_offload_hw.tcl +++ b/library/spi_engine/spi_engine_offload/spi_engine_offload_hw.tcl @@ -45,6 +45,14 @@ proc p_elaboration {} { ad_interface signal ctrl_enabled output 1 enabled ad_interface signal ctrl_mem_reset input 1 reset + add_interface status_sync axi4stream start + add_interface_port status_sync status_sync_valid tvalid output 1 + add_interface_port status_sync status_sync_ready tready input 1 + add_interface_port status_sync status_sync_data tdata output 8 + + set_interface_property status_sync associatedClock if_spi_clk + set_interface_property status_sync associatedReset if_spi_resetn + # SPI Engine interfaces ad_interface clock spi_clk input 1