# Support for SGDMA in PYNQ

**URL:** <https://discuss.pynq.io/t/support-for-sgdma-in-pynq/5771>\
**Category:** Support\
**Created:** [July 4, 2023, 12:52pm UTC](https://discuss.pynq.io/t/support-for-sgdma-in-pynq/5771 "2023-07-04T12:52:44Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![adimural1002293](https://avatars.discourse-cdn.com/v4/letter/a/d9b06d/32.png) [@adimural1002293](https://discuss.pynq.io/u/adimural1002293)\
**Post date:** [July 4, 2023, 12:52pm UTC](https://discuss.pynq.io/t/support-for-sgdma-in-pynq/5771/1 "2023-07-04T12:52:44Z")

</div>

Hello,

Pynq Version is 2.6.0

I’m currently trying to implement FFT algorithm using SGDMA in pynq.

The issue that I’m currently facing is that while calling the transfer method through DMA class , it is always referencing the SDMA class instead of SGDMA class.

Below is the screenshot for that.

 ![calling SDMA class](https://us1.discourse-cdn.com/flex019/uploads/pynq1/original/2X/8/849319839015cf096b90d98c840a22dc6bc67c78.png)

even though ol.ip\_dict shows that c\_include =1.

Tl;dr:  
The parameter ‘c\_include\_sg’ is set to 1 in ol.ip\_dict , but still the transfer method of SDMA is being called instead of SGDMA. So my question is whether SGDMA is being supported in Pynq Processor.  
If Yes , then what could be the issue here ? Attached below are the files for code, .bit if required.  
[sgdma\_fft-Copy1.bit](https://discuss.pynq.io/uploads/short-url/g2avlr8iV2YrSS81Ujf5oKdt2NW.bit) (3.9 MB)  
[sgdma\_fft-Copy1.ipynb](https://discuss.pynq.io/uploads/short-url/oBMfRN2BmEjHOyrynwywAXAAo8i.ipynb) (209.8 KB)

---

<div class="post-metadata">

**Author:** ![adimural1002293](https://avatars.discourse-cdn.com/v4/letter/a/d9b06d/32.png) [@adimural1002293](https://discuss.pynq.io/u/adimural1002293)\
**Post date:** [July 4, 2023, 12:54pm UTC](https://discuss.pynq.io/t/support-for-sgdma-in-pynq/5771/2 "2023-07-04T12:54:35Z")

</div>

In reply to the above , here are some additional screenshots which might help

 ![c_include_sg](https://us1.discourse-cdn.com/flex019/uploads/pynq1/original/2X/8/8e0f4abc55c658c387d15a94aa86d404be33ee67.png)

Edit: As a new user , not able to add more than 1 embedded screenshot

---

<div class="post-metadata">

**Author:** ![davidnorthcote](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.pynq.io/davidnorthcote/32/4729_2.png) [@davidnorthcote](https://discuss.pynq.io/u/davidnorthcote)\
**Post date:** [July 5, 2023, 10:40am UTC](https://discuss.pynq.io/t/support-for-sgdma-in-pynq/5771/3 "2023-07-05T10:40:55Z")

</div>

Hi @adimural1002293

Just a quick message to say that Cyclic Buffer Descriptors are only available in PYNQ v3.0.1.

> <https://github.com/Xilinx/PYNQ/blob/93ddd21ab623883590a8c8b07f0b157b2855da4b/pynq/lib/dma.py#L313>

Thanks,  
David.

---

<div class="post-metadata">

**Author:** ![adimural1002293](https://avatars.discourse-cdn.com/v4/letter/a/d9b06d/32.png) [@adimural1002293](https://discuss.pynq.io/u/adimural1002293)\
**Post date:** [July 19, 2023, 4:22pm UTC](https://discuss.pynq.io/t/support-for-sgdma-in-pynq/5771/4 "2023-07-19T16:22:31Z")

</div>

Hi,

Thank you for the reply.

Just wanted to know if there would be any online resources on SGDMA implementation for Pynq Version 3.0.1 ?
