exec file-exists
Simics Reference Manual  /  3 Commands  /  3.2 Command List  / 

expect

Synopsis

expect arg1 arg2 [-v]

Description

If values arg1 and arg2 are not equal the simulator will print them and exit with error exit(1). -v prints the two values before comparing them.

This can be useful when writing scripts that want to assert a state in the simulator.

Provided By

Simics Core
exec file-exists