vta.testing.simulator#

Utilities to start simulator.

Module Contents#

Functions#

_load_sw()

Load hardware library for simulator.

clear_stats()

Clear profiler statistics.

debug_mode(flag)

Set debug mode

enabled()

Check if simulator is enabled.

stats()

Get profiler statistics

Attributes#

DEBUG_SKIP_EXEC

LIBS

vta.testing.simulator._load_sw()[源代码]#

Load hardware library for simulator.

vta.testing.simulator.clear_stats()[源代码]#

Clear profiler statistics.

vta.testing.simulator.debug_mode(flag)[源代码]#

Set debug mode Paramaters ———- flag : int

The debug flag, 0 means clear all flags.

vta.testing.simulator.enabled()[源代码]#

Check if simulator is enabled.

vta.testing.simulator.stats()[源代码]#

Get profiler statistics

Returns#

statsdict

Current profiler statistics

vta.testing.simulator.DEBUG_SKIP_EXEC = 1[源代码]#
vta.testing.simulator.LIBS[源代码]#