Previous - Up - Next

15.4   Simics's Search Path

Many Simics commands will look up files based on the current directory. This may be impractical when writing scripts or building new configurations, so Simics provides two features to ease directory handling:

Simics's search path can be manipulated using the add-directory, clear-directories and list-directories commands. Simics's search path is also used when looking for images files belonging to checkpoints or new configuration. This is described in section Image Search Path.


Note: Although the Simics search path is saved in the sim object in checkpoints, allowing image files that were found through it to be opened again by the checkpoint, it is not available until the object creation phase. Module initialization code should not rely on the Simics path since that code is run before the simobject object from the checkpoint has been created.

Previous - Up - Next