Skip to content

Commit

Permalink
axi_dmac: Allow wider FIFO/AXI Stream interface
Browse files Browse the repository at this point in the history
On large projects with multiple channels the databus on the FIFO/AXI
stream interface can get wider that 1024 bits.

This commit allows a wider range for all the interfaces,
in case for the memory mapped interfaces where the range is 32-1024 the
user selects a bus width out of range that will be handled by the IPI.
  • Loading branch information
ronagyl committed Nov 10, 2021
1 parent 63b6711 commit 5dd9fd4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion library/axi_dmac/axi_dmac_ip.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ set_property -dict [list \
foreach dir {"SRC" "DEST"} {
set_property -dict [list \
"value_validation_type" "list" \
"value_validation_list" "16 32 64 128 256 512 1024" \
"value_validation_list" "16 32 64 128 256 512 1024 2048" \
] \
[ipx::get_user_parameters DMA_DATA_WIDTH_${dir} -of_objects $cc]

Expand Down Expand Up @@ -308,6 +308,7 @@ foreach {dir group} [list "SRC" $src_group "DEST" $dest_group] {
ipgui::move_param -component $cc -order 2 $p -parent $group
set_property -dict [list \
"display_name" "Bus Width" \
"tooltip" "Bus Width: For Memory-Mapped interface the valid range is 32-1024 bits" \
] $p

set p [ipgui::get_guiparamspec -name "AXI_SLICE_${dir}" -component $cc]
Expand Down

0 comments on commit 5dd9fd4

Please sign in to comment.