# TLAST Issue

**URL:** https://discuss.pynq.io/t/tlast-issue/4321
**Category:** Support
**Created:** [June 7, 2022, 11:36am UTC](https://discuss.pynq.io/t/tlast-issue/4321 "2022-06-07T11:36:52Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![Nagendra](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.pynq.io/nagendra/32/2653_2.png) [@Nagendra](https://discuss.pynq.io/u/Nagendra)
#### Post date: [June 7, 2022, 11:36am UTC](https://discuss.pynq.io/t/tlast-issue/4321/1 "2022-06-07T11:36:53Z")

</div>

Hi everyone.

I am using Vivado 2019.2, vivado\_hls, PYNQ 2.7, and the ZCU111 board. is it fine to use vivado 2019.2 for PYNQ 2.7 or should i upgrade to the new version of Vivado to not face any internal version issues .

I have assigned TLAST in my HLS design. It has a 1 bit data width, but when it comes to ILA debugging, it shows zero.

**HLS summary**

![Screenshot from 2022-06-07 19-15-05](https://us1.discourse-cdn.com/flex019/uploads/pynq1/original/2X/6/698b81d3cae022e0358cefd8329aff05b548cfae.png)

**Vivado IP:**

![Screenshot from 2022-06-07 19-34-38](https://us1.discourse-cdn.com/flex019/uploads/pynq1/original/2X/1/17b847435699ffaafc69f1018526eedfd8256cf1.png)

**ILA Waveform**

I checked my IP with ILA. To complete the DMA transaction, the TLAST signal is set to zero; it should be the rising edge of the trigger. How I can set the TLAST for rising edge of the trigger? any suggestions ?

 ![image](https://us1.discourse-cdn.com/flex019/uploads/pynq1/original/2X/4/4fb4cce9ebeb18f7d42a309f5c0b2405c0a1a867.png)

Thank You.

---

<div class="post-metadata">

### Author: ![marioruiz](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.pynq.io/marioruiz/32/2177_2.png) [@marioruiz](https://discuss.pynq.io/u/marioruiz)
#### Post date: [June 7, 2022, 12:24pm UTC](https://discuss.pynq.io/t/tlast-issue/4321/2 "2022-06-07T12:24:45Z")

</div>

Are you asserting TLAST in your code?

The window in the ILA you are showing does not seems to be completed.

Mario

---

<div class="post-metadata">

### Author: ![Nagendra](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.pynq.io/nagendra/32/2653_2.png) [@Nagendra](https://discuss.pynq.io/u/Nagendra)
#### Post date: [June 7, 2022, 4:41pm UTC](https://discuss.pynq.io/t/tlast-issue/4321/3 "2022-06-07T16:41:35Z")

</div>

Yes,

I have assigned the TLAST in the HLS code. But in the ILA it shows zero, so how can I turn to the rising edge of the trigger?

---

<div class="post-metadata">

### Author: ![marioruiz](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.pynq.io/marioruiz/32/2177_2.png) [@marioruiz](https://discuss.pynq.io/u/marioruiz)
#### Post date: [June 7, 2022, 4:59pm UTC](https://discuss.pynq.io/t/tlast-issue/4321/4 "2022-06-07T16:59:44Z")

</div>

You can watch this video to learn how to use the ILA.

[Logic Debug in Vivado](https://www.xilinx.com/video/hardware/logic-debug-in-vivado.html) controls

---

<div class="post-metadata">

### Author: ![Nagendra](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.pynq.io/nagendra/32/2653_2.png) [@Nagendra](https://discuss.pynq.io/u/Nagendra)
#### Post date: [June 7, 2022, 5:29pm UTC](https://discuss.pynq.io/t/tlast-issue/4321/5 "2022-06-07T17:29:00Z")

</div>

Do you mean my ILA debugging process is wrong?

---

<div class="post-metadata">

### Author: ![marioruiz](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.pynq.io/marioruiz/32/2177_2.png) [@marioruiz](https://discuss.pynq.io/u/marioruiz)
#### Post date: [June 7, 2022, 6:12pm UTC](https://discuss.pynq.io/t/tlast-issue/4321/6 "2022-06-07T18:12:13Z")

</div>

No,

Towards the end the video cover your question: “so how can I turn to the rising edge of the trigger?”

---

<div class="post-metadata">

### Author: ![Nagendra](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.pynq.io/nagendra/32/2653_2.png) [@Nagendra](https://discuss.pynq.io/u/Nagendra)
#### Post date: [June 8, 2022, 2:00pm UTC](https://discuss.pynq.io/t/tlast-issue/4321/7 "2022-06-08T14:00:25Z")

</div>

Hi,

I have changed TLAST from 0 to 1 in the HLS, so the trigger edge is raised but the DMA transaction is not completing.  
can you give any suggestions?

 ![Screenshot (11)](https://us1.discourse-cdn.com/flex019/uploads/pynq1/original/2X/3/3466bba381576cf1b2ef0c65a6897bc53d1ce9d3.png)

---

<div class="post-metadata">

### Author: ![marioruiz](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.pynq.io/marioruiz/32/2177_2.png) [@marioruiz](https://discuss.pynq.io/u/marioruiz)
#### Post date: [June 8, 2022, 2:08pm UTC](https://discuss.pynq.io/t/tlast-issue/4321/8 "2022-06-08T14:08:14Z")

</div>

Hi @Nagendra,

These type of questions are outside of the scope of the PYNQ support.

I suggest you familiarize yourself with AXI4-Stream and how the DMA works. As you will learn from the link below, `TLAST` signals the last byte of the stream so it cannot be asserted all the time.

A good starting point here [How-AXI4-Stream-Works](https://docs.xilinx.com/r/en-US/ug1399-vitis-hls/How-AXI4-Stream-Works)

You can also review Cathal’s tutorial [Tutorial: using a HLS stream IP with DMA (Part 1: HLS design)](https://discuss.pynq.io/t/tutorial-using-a-hls-stream-ip-with-dma-part-1-hls-design/3344), you can add ILA in that design so you can learn how it is working.

Mario

---

<div class="post-metadata">

### Author: ![Nagendra](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.pynq.io/nagendra/32/2653_2.png) [@Nagendra](https://discuss.pynq.io/u/Nagendra)
#### Post date: [June 8, 2022, 2:10pm UTC](https://discuss.pynq.io/t/tlast-issue/4321/9 "2022-06-08T14:10:05Z")

</div>

Hi @marioruiz

Thank you for your suggestions
