Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lab: AXI4-Burst problem on latency #25

Open
JiaMingLin opened this issue May 24, 2021 · 0 comments
Open

Lab: AXI4-Burst problem on latency #25

JiaMingLin opened this issue May 24, 2021 · 0 comments

Comments

@JiaMingLin
Copy link

Hi, I copied your Lab of AXI4-Burst and followed your instructions to port to PYNQ-Z2. However, I am not sure how to measure the latency(I want to report the latency of different burst lengths).

I have tried one, and following is my method,

  • put following lines into a Python function, e.g.
      def exec(length):
          sqrt_ip.write(0x20, length)
          sqrt_ip.write(0x10, inpt.physical_address)
          sqrt_ip.write(0x18, outpt.physical_address)
          sqrt_ip.write(0x00, 1)
    
  • Then using %timeit exec(length) to report execution time.
  • I modified the length from 100 to 32768 (I have modified the HLS code from SIZE=100 to SIZE=32768)

However, the results of %timeit exec(length) are almost the same from 120~130 mu-sec for the hardware configs SIZE=100 or SIZE=32768.

Then my question is how to evaluate the latency from PYNQ correctly?

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant