UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Visitor josh97
Visitor
558 Views
Registered: ‎07-27-2018

AXI DMA data width for color images

Jump to solution

Hi,

I have an IP block design for a project that looks like this:IP_blocks.pngIP Blocks

 I have a video processing block which takes its input from the DMA's MM2S port, and whose output is fed to the DMA's S2MM port. I am dealing with color images inside the video processing block, and so I had defined pixels to be of 24 bits (8x3) size while defining my axi stream within the block (using Vivado HLS) like this:

typedef hls::stream<ap_axiu<24,1,1,1>> AXI_IN_STREAM;

However, when I tried to validate the design, Vivado throws the following errors:Error.pngErrors while validating

 Both errors are because the AXI DMA core only allows stream widths of 8, 16, 32, 64 etc bits and the current setting is 32 bits. I could not find 24 bits in the drop-down menu.

AXI_DMA.pngAXI DMA stream width drop down menu

Is there any way I can work around this? I need only 3 bytes (24 bits) for my colour images, but the AXI DMA only allows 8, 16, 32 etc. bits for the stream widths.

 

 

0 Kudos
1 Solution

Accepted Solutions
Moderator
Moderator
537 Views
Registered: ‎11-09-2015

Re: AXI DMA data width for color images

Jump to solution

Hi @josh97,

There is a DMA for Video called the Video DMA (refer to PG020). It allows a stream of 24 bits. This is better than just a workaround ;)


Florent
Product Application Engineer - Xilinx Technical Support EMEA
**~ Don't forget to reply, give kudos, and accept as solution.~**
2 Replies
Moderator
Moderator
538 Views
Registered: ‎11-09-2015

Re: AXI DMA data width for color images

Jump to solution

Hi @josh97,

There is a DMA for Video called the Video DMA (refer to PG020). It allows a stream of 24 bits. This is better than just a workaround ;)


Florent
Product Application Engineer - Xilinx Technical Support EMEA
**~ Don't forget to reply, give kudos, and accept as solution.~**
Highlighted
Visitor josh97
Visitor
510 Views
Registered: ‎07-27-2018

Re: AXI DMA data width for color images

Jump to solution

Thanks!

0 Kudos