Expand description
Module handling
Functionsยง
- _add_
module_ ๐dir Add a directory to the simulator to search for modules when runningload_module("name")
. - Get the list of modules that failed to initialize
- _get_
all_ ๐modules The list returned contains information about all modules that can be loaded into Simics. Each list entry is another list with module specific information. The layout of this sub-list is described below. The list may grow in future Simics version, but the currently defined fields will not change. name - Module name (string). path - File system path to the module (string). loaded - Flag indicating that the module is already loaded (boolean). version - Oldest Simics ABI version that the module was built for (integer). user version - User version of the module (string). build-id - Simics build-id that indicates in which Simics build this module was created (integer). build-date - Build date of the module, in seconds (integer). classes - Classes this module claims to implement. thread-safe - If the module is thread-safe. components - Components this module claims to implement. user path - Module was loaded from path provided by user. - _load_
module ๐Load a module into the simulator - _module_
list_ ๐refresh Refresh the module list - Add a directory to the simulator to search for modules when running
load_module("name")
. - Get the list of modules that failed to initialize
- The list returned contains information about all modules that can be loaded into Simics. Each list entry is another list with module specific information. The layout of this sub-list is described below. The list may grow in future Simics version, but the currently defined fields will not change. name - Module name (string). path - File system path to the module (string). loaded - Flag indicating that the module is already loaded (boolean). version - Oldest Simics ABI version that the module was built for (integer). user version - User version of the module (string). build-id - Simics build-id that indicates in which Simics build this module was created (integer). build-date - Build date of the module, in seconds (integer). classes - Classes this module claims to implement. thread-safe - If the module is thread-safe. components - Components this module claims to implement. user path - Module was loaded from path provided by user.
- Load a module into the simulator
- Refresh the module list