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
parent
1c7043c707
commit
46419f8d09
|
@ -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 \
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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 \
|
||||
|
|
Loading…
Reference in New Issue