Module simics::api::simulator::paths

source ยท
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.