Symbolic Data Access Script Commands (System Simulator)

<< Click to Display Table of Contents >>

Navigation:  eTPU Development Tool (ASH WARE, Inc.) >

Symbolic Data Access Script Commands (System Simulator)

Previous pageReturn to chapter overviewNext page

Example Download

Your eTPU code is written using symbolic data (e.g. int A,B,C) the ideally way to debug and test it is symbolic, also. The following are examples of script commands that access data symbolically.

write_str("l_intPtr", "\"ABC\"");

verify_str("l_str", "==", "l_carray");

verify_val("l_int", "==", "0x41424300");

Note that in the system simulator it is possible to specify the exact target on which a script command will operate. The default target (as shown above) is the target in which the script command is running

host.verify_str("l_str", "==", "l_carray");

etpu1.write_val("g_e", "0xdead"); 

etpu1.verify_val("g_e", "==", "0xdead");