Running - 2023.1 English

Vitis Unified IDE and Common Command-Line Reference Manual (UG1553)

Document ID
UG1553
Release Date
2023-07-17
Version
2023.1 English
The following are the commands followed by their options (if any) and the Python method for the option (if any).

backtrace, bt

# Using session object
s.backtrace()
# Using target object
t.backtrace()
-maxframes <num>
# Using session object
s.backtrace(5)
# Using target object
t.backtrace(5)

con

# Using session 
objects.con()
# Using target 
objectt.con()
-addr <address>
No method available
-block
No method available
-timeout <sec>
No method available

dis

t.dis(0x00100000)
<address>
t.dis(0x00100000)
<address> <num>
t.dis(0x00100000, 5)

locals

s.locals()
[variable-name]

s.locals(name="test")
# or
s.locals("test")
[variable-name [variable-value]]

s.locals(name="test", value=5)
# or
s.locals("test", 7)

-defs

s.locals("--defs")
s.locals("--defs", name="val")
-dict

s.locals("--dict")
s.locals("--dict", name="val")

mbprofile

-low <addr>

s.mbprofile(low='low', high='high') 
-high <addr>
No method available
-freq <value>
s.mbprofile('--count_instr', low='low', high='high')
-count-instr
No method available
-cumulate
No method available
-start
s.mbprofile('--start')
-stop
s.mbprofile('--stop', out="tests/elfs/mbprofile/gmon_inst_1.out")
-out <filename>
s.mbprofile('--stop', out="tests/elfs/mbprofile/gmon_inst_1.out")

mbtrace

-start
s.mbtrace('--start')
-stop
s.mbtrace('-f', '--stop', out="tests/elfs/mbprofile/gmon_trace.txt")
-con
s.mbtrace('-f', '--con', out="tests/elfs/mbprofile/gmon_trace.txt")
-stp
No method available
-nxt
No method available
-out <filename>
s.mbtrace('-f', '--con', out="tests/elfs/mbprofile/gmon_trace.txt")
-level <level>
No method available
-halt
No method available
-save
No method available
-low <addr>
No method available
-high <addr>
No method available
-format <format>
No method available

nxt

# Using session objects.nxt()
# Using target objectt.nxt()
[count]
# Using session objects.nxt(2)
# Using target objectt.nxt(2)

nxti

# Using session object
s.nxti()
# Using target object
t.nxti()
[count]
# Using session object
s.nxti(2)
# Using target object
t.nxti(2)

print

[expression]
s.print()
# or
s.print(expr="temp")
# or
s.print("temp")
# or
s.print("x + y - z")
[expression] <valvue>
s.print(expr="temp", value=5555)
# or
s.print("temp", 4444)
-add <expression>
s.print("--add", expr="temp")
# or
s.print("--add", expr="x + y")
-defs [expression]
s.print("--defs")
# or
s.print("--defs", expr="temp")
-dict [expression]
s.print("--dict")
# or
s.print("--dict", expr="temp")
-remove [expression]
s.print()
# or
s.print("--remove", expr="temp")
-set <expression>
No method available

profile

-freq <sampling-freq>
s.profile(freq=10000, addr=0x30000000)
-scratchaddr <addr>
s.profile(freq=10000, addr=0x30000000)
-out <file-name>
s.profile(out="tests/data/gmon_inst.out")

state

state = tgt.state()

stop

# Using session object
s.stop()
# Using target object
t.stop()

stp

# Using session object
s.stp()
# Using target object
t.stp()
[count]
# Using session object
s.stp(2)
# Using target object
t.stp(2)

stpi

# Using session object
s.stpi()
# Using target object
t.stpi()
[count]
# Using session object
s.stpi(2)
# Using target object
t.stpi(2)

stpout

# Using session object
s.stpout()
# Using target object
t.stpout()
[count]
# Using session object
s.stpout(2)
# Using target object
t.stpout(2)