pluto_hdl_adi/projects/scripts
Lars-Peter Clausen 5b94533cd0 adi_board.tcl: ad_ip_instance: Add support for specifying IP parameters
Add support for specifying a set of parameter value pairs when
instantiating an IP core to the ad_ip_instance command. This has the
convenience of not having to repeatedly call ad_ip_parameter with the name
of the core that got just created for each parameter that needs to be set.

It is also useful for cases where some parameters have mutually exclusive
values and both (or more) have to be set at the same time.

This also slightly speeds things up. Whenever a parameter is changed the
core needs to be updated and post configuration scripts might run. When
setting all parameters at the same time this only happens once instead of
once for each parameter.

For example the following sequence

  ad_ip_instance axi_dmac axi_ad9136_dma
  ad_ip_parameter axi_ad9136_dma CONFIG.DMA_TYPE_SRC 0
  ad_ip_parameter axi_ad9136_dma CONFIG.DMA_TYPE_DEST 1
  ad_ip_parameter axi_ad9136_dma CONFIG.DMA_DATA_WIDTH_SRC 64
  ad_ip_parameter axi_ad9136_dma CONFIG.DMA_DATA_WIDTH_DEST 256

can now be replaced with

  ad_ip_instance axi_dmac axi_ad9136_dma [list \
    DMA_TYPE_SRC 0 \
    DMA_TYPE_DEST 1 \
    DMA_DATA_WIDTH_SRC 64 \
    DMA_DATA_WIDTH_DEST 256 \
  ]

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
2018-08-10 16:12:26 +02:00
..
adi_board.tcl adi_board.tcl: ad_ip_instance: Add support for specifying IP parameters 2018-08-10 16:12:26 +02:00
adi_env.tcl adi_env: Normalize environment variables 2017-10-23 12:15:14 +01:00
adi_project.tcl scripts/adi_project.tcl: Overrides the default individual msg limit to 2000 2018-08-06 18:18:13 +03:00
adi_project_alt.tcl DE10: Initial commit 2018-04-11 15:09:54 +03:00
adi_tquest.tcl adi_tquest: Improve the timing report generation 2018-08-08 15:09:19 +03:00
adi_xilinx_msg.tcl adi_xilinx_msg: eth_avb is not used by our designs 2018-04-11 15:09:54 +03:00
project-altera.mk Add quiet mode to the Makefile system 2018-04-11 15:09:54 +03:00
project-toplevel.mk Add quiet mode to the Makefile system 2018-04-11 15:09:54 +03:00
project-xilinx.mk Add quiet mode to the Makefile system 2018-04-11 15:09:54 +03:00