# The speed of AXILite for data transfer from PS to PL

**URL:** <https://discuss.pynq.io/t/the-speed-of-axilite-for-data-transfer-from-ps-to-pl/5947>\
**Category:** Support\
**Created:** [August 14, 2023, 2:45pm UTC](https://discuss.pynq.io/t/the-speed-of-axilite-for-data-transfer-from-ps-to-pl/5947 "2023-08-14T14:45:34Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![AllenChenChao](https://avatars.discourse-cdn.com/v4/letter/a/7bcc69/32.png) [@AllenChenChao](https://discuss.pynq.io/u/AllenChenChao)\
**Post date:** [August 14, 2023, 2:45pm UTC](https://discuss.pynq.io/t/the-speed-of-axilite-for-data-transfer-from-ps-to-pl/5947/1 "2023-08-14T14:45:34Z")

</div>

Hi, I want to know the speed of data transfer from PS to PL.

I made a IP and it can be connected to PS on PYNQ Z1. I transfer data from PS to PL, so PL can process them.  
I use AXILite for data transfer and the PL is set in 100 MHZ.  
I only use the ZYNQ and our IP and connect them automatically by the PYNQ tutorials.  
The IP works well. And I have already know the computing latency but I also want to know the data transfer time from PS to PL.

I really want to know the time for data from PS to PL so I can estimate the whole system time performance.

Here is my IP code:

```auto
void IP_Name(int a0,int a1,int a2,int a3,int a4,int a5,int a6,int len,int& result)
{
#pragma HLS INTERFACE ap_ctrl_none port=return
//#pragma HLS INTERFACE s_axilite port=return bundle=sqrt
#pragma HLS INTERFACE s_axilite port = a0
#pragma HLS INTERFACE s_axilite port = a1
#pragma HLS INTERFACE s_axilite port = a2
#pragma HLS INTERFACE s_axilite port = a3
#pragma HLS INTERFACE s_axilite port = a4
#pragma HLS INTERFACE s_axilite port = a5
#pragma HLS INTERFACE s_axilite port = a6
#pragma HLS INTERFACE s_axilite port = result
#pragma HLS INTERFACE s_axilite port=len

```

---

<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:** [August 15, 2023, 7:22am UTC](https://discuss.pynq.io/t/the-speed-of-axilite-for-data-transfer-from-ps-to-pl/5947/2 "2023-08-15T07:22:11Z")

</div>

Hi @AllenChenChao,

I suggest you measure elapsed time each read/write operation takes with the `time` package.

Mario

---

<div class="post-metadata">

**Author:** ![AllenChenChao](https://avatars.discourse-cdn.com/v4/letter/a/7bcc69/32.png) [@AllenChenChao](https://discuss.pynq.io/u/AllenChenChao)\
**Post date:** [October 30, 2023, 3:51pm UTC](https://discuss.pynq.io/t/the-speed-of-axilite-for-data-transfer-from-ps-to-pl/5947/3 "2023-10-30T15:51:17Z")

</div>

Hi, I thought that way. But I am afraid the Python framework will occupy too much time.
