Using Scripts in ODB

A script contains ODB commands and can be used to set up and execute a standard ODB session with minimal keyboard input. This can be especially useful in a test environment, where variations of the same simulation are run and the results compared.

Note: You can use the "script_mode" and "script_name" preferences of op_runsim and .sim exec to specify an ODB script that will be executed at the beginning of a simulation, before the first ODB prompt.

Table 19: Scripting Commands

"script_play" Plays back commands saved in a specified script file.
"script_save" Saves commands from the history file into a script file. Either commands entered since the script_start command, or all commands can be saved.
"script_start" Sets a marker in the history file for the beginning of a script.
"script_view" Displays the commands in a script file.