Expand description
Path handling
Functionsยง
- _add_
directory ๐Add a directory to the SIMICS search path - _clear_
directories ๐Clear extra search directories - _get_
directories ๐Get the list of extra search directories - _lookup_
file ๐If file exists and is an absolute path, it is converted to host native form and returned.If file starts with %simics%, the rest of the path is looked up first in the current Simics project, and then in all configured Simics packages. If a match is found, the native form of the file found will be returned.If file exists in or relative to the current directory, it is returned without using the Simics search path. This is more or less equivalent of always having โ.โ first in the search path.For each directory in Simics search path: The directory and the file is concatenated and converted to host native format. Each such file is looked up first in the current Simics project, and then in all Simics packages. If a match is found, the native form of the file found will be returned. - Add a directory to the SIMICS search path
- Clear extra search directories
- Get the list of extra search directories
- If file exists and is an absolute path, it is converted to host native form and returned.If file starts with %simics%, the rest of the path is looked up first in the current Simics project, and then in all configured Simics packages. If a match is found, the native form of the file found will be returned.If file exists in or relative to the current directory, it is returned without using the Simics search path. This is more or less equivalent of always having โ.โ first in the search path.For each directory in Simics search path: The directory and the file is concatenated and converted to host native format. Each such file is looked up first in the current Simics project, and then in all Simics packages. If a match is found, the native form of the file found will be returned.