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!

AR# 67763

SDSoC Library Function: sds_clock_counter() is incorrect for standalone applications

Description

The SDSoC Library Function sds_clock_counter() is incorrect for standalone applications.

Solution

The sds_clock_counter() API, which returns the value of the Zynq Global Timer scaled by the number of processor cycles per tick, is incorrect for standalone applications. The correct number of processor cycles is twice the value returned by the API.

The implementation of sds_clock_counter() for Linux is correct.

AR# 67763
Date Created 08/24/2016
Last Updated 09/02/2016
Status Active
Type General Article
Devices
  • Zynq-7000
Tools
  • SDSoC