spi_engine: Fix ip scripts for regmap, offload and execution

Fix the *_ip.tcl scripts for axi_spi_engine and spi_engine_offload
module.

In case of a bool parameters the value_format and value properties must
be set for both user and hdl paramters. If not, in the generated verilog
code the tool will use "true" or "false" strings, instead of 0 or 1.
main
Istvan Csomortani 2020-08-19 14:31:35 +01:00 committed by István Csomortáni
parent 1c7043c707
commit 46419f8d09
3 changed files with 20 additions and 0 deletions

View File

@ -149,6 +149,11 @@ set_property -dict [list \
"value" "false" \
] \
[ipx::get_user_parameters ASYNC_SPI_CLK -of_objects $cc]
set_property -dict [list \
"value_format" "bool" \
"value" "false" \
] \
[ipx::get_hdl_parameters ASYNC_SPI_CLK -of_objects $cc]
## NUM_OFFLOAD
set_property -dict [list \

View File

@ -101,6 +101,11 @@ set_property -dict [list \
"value" "false" \
] \
[ipx::get_user_parameters SDI_DELAY -of_objects $cc]
set_property -dict [list \
"value_format" "bool" \
"value" "false" \
] \
[ipx::get_hdl_parameters SDI_DELAY -of_objects $cc]
## Customize IP Layout

View File

@ -75,6 +75,11 @@ set_property -dict [list \
"value" "false" \
] \
[ipx::get_user_parameters ASYNC_SPI_CLK -of_objects $cc]
set_property -dict [list \
"value_format" "bool" \
"value" "false" \
] \
[ipx::get_hdl_parameters ASYNC_SPI_CLK -of_objects $cc]
## ASYNC_TRIG
set_property -dict [list \
@ -82,6 +87,11 @@ set_property -dict [list \
"value" "false" \
] \
[ipx::get_user_parameters ASYNC_TRIG -of_objects $cc]
set_property -dict [list \
"value_format" "bool" \
"value" "false" \
] \
[ipx::get_hdl_parameters ASYNC_TRIG -of_objects $cc]
## NUM_OF_SDI
set_property -dict [list \