Team Slytherin: Difference between revisions

From Cpre584
Jump to navigation Jump to search
Chidvila (talk | contribs)
No edit summary
Chidvila (talk | contribs)
No edit summary
Line 30: Line 30:
</table>
</table>


=== Invoking gdb ===
=== Extra Credit: Invoking gdb ===
<ul><li>We can invoke gdb using the gdb <programname> command</li>
<ul><li>We can invoke gdb using the gdb <programname> command</li>
   
    gdb UserApp.exe




</ul>
</ul>

Revision as of 21:39, 1 February 2012

Team Members

  • Kevin Townsend
  • Bhavani Satyanarayana Rao
  • Chidvila Gaddam

Assignment1


Running the sample application with script files

  • The runcp script located in the SampleAppVadd can be used to run the application in HW which sets the appropriate environment variables and runs the UserApp.exe
  • export CNY_PDK_PROJ = ~/pdk_sample/cae_pers_vadd ./runcp
  • The run script located in the SampleAppVadd can be used to run the application in SW
  • The scripts above can be used to run the application on Simulator using the "-vsim" option which sets the environment variable CNY_CAE_EMULATOR to ./run_simulation
  • ./runcp -vsim ./run -sim


Environment VariablesSoftwareModelSimHardware
CNY_SIM_THREADlibcpSimLib2.solibcpSimLib2.sounset
CNY_CAE_EMULATOR<location for CaeSimPers>./run_simulationunset

Extra Credit: Invoking gdb

  • We can invoke gdb using the gdb <programname> command
  • gdb UserApp.exe