Forums - hexagon-sim

9 posts / 0 new
Last post
hexagon-sim
ajayhrrao
Join Date: 27 Nov 16
Posts: 12
Posted: Thu, 2017-02-02 03:52

can we use hexagon-sim command in command prompt of windows?

because when i use that, it is showing 'hexagon-sim' is not recognised

  • Up0
  • Down0
chennak
Join Date: 22 Sep 16
Posts: 78
Posted: Mon, 2017-02-06 03:06

you need to set Hexagon tools in your path.

set HEXAGON_TOOLS_ROOT=%HEXAGON_SDK_ROOT%\tools\HEXAGON_Tools\8.0.08

set PATH=%HEXAGON_TOOLS_ROOT%\Tools\bin;%HEXAGON_TOOLS_ROOT%\Tools\lib\iss;%PATH%
  • Up0
  • Down0
329323213
Join Date: 21 Feb 17
Posts: 5
Posted: Thu, 2017-02-23 19:25

thank u ,I had built the environment like you said,but when i input "hexagon-sim" in my command,it appears one line "usage: hexagon-sim [option] ....",i want to know how i can open the simulator,thanks.

  • Up0
  • Down0
329323213
Join Date: 21 Feb 17
Posts: 5
Posted: Thu, 2017-02-23 19:26

a

  • Up0
  • Down0
sumeerb
Join Date: 7 Feb 19
Posts: 4
Posted: Mon, 2019-02-11 20:30

Is there any update? How do we open the simulator window and debug some code?

Thanks,

  • Up0
  • Down0
areddyv
Join Date: 11 Feb 19
Posts: 2
Posted: Mon, 2019-02-11 22:17

Do you need to debug any example using hexagon-sim in command line. If that is the case, you can refer to benchmark_v65_simulator_debug html doc present in docs folder of Hexagon SDK.  If that is not what you meant, please elaborate your usecase

  • Up0
  • Down0
mado.jessu
Join Date: 6 Oct 22
Posts: 27
Posted: Mon, 2023-07-24 01:53
Hexagon-sim
  • Up0
  • Down0
Sjessus60
Join Date: 3 Oct 22
Posts: 28
Posted: Mon, 2023-07-24 02:00
Hexagon-sim
  • Up0
  • Down0
prabpand
Join Date: 14 May 19
Posts: 2
Posted: Mon, 2023-12-04 02:02

For using hexagon-sim first you need to set the hexagon tools path:

set HEXAGON_TOOLS_ROOT=%HEXAGON_SDK_ROOT%\tools\HEXAGON_Tools\8.6.07

set PATH=%HEXAGON_TOOLS_ROOT%\Tools\bin;%HEXAGON_TOOLS_ROOT%\Tools\lib\iss;%PATH%

after that hexagon-sim expects certain arguments to be executed successfully. For example, when calculator example invokes the hexagon-sim command below is the command that gets executed:

$HEXAGON_TOOLS_ROOT/Tools/bin/hexagon-sim -mv65 --simulated_returnval --usefs hexagon_Debug_toolv87_v65 --pmu_statsfile hexagon_Debug_toolv87_v65/pmu_stats.txt hexagon_Debug_toolv87_v65/calculator_q --

  • Up0
  • Down0
or Register

Opinions expressed in the content posted here are the personal opinions of the original authors, and do not necessarily reflect those of Qualcomm Incorporated or its subsidiaries (“Qualcomm”). The content is provided for informational purposes only and is not meant to be an endorsement or representation by Qualcomm or any other party. This site may also provide links or references to non-Qualcomm sites and resources. Qualcomm makes no representations, warranties, or other commitments whatsoever about any non-Qualcomm sites or third-party resources that may be referenced, accessible from, or linked to this site.