set-prioritized-package [-current] ["package"] [-clear]
Mark a Simics package, with the name package, as prioritized. When a module to be loaded is found in several packages, the one from a prioritized package takes precedence over the modules found in non-prioritized packages. This priority mechanism overrides the default behavior of selecting the most recently built module. Modules found in user-added search paths and in the project directory still have higher priority than modules from packages.
For scripts distributed in a package, the -current flag can be used instead of a name to mark the package they belong to as prioritized.
Using the -clear flag will empty the list of prioritized packages.
Simics Core
list-prioritized-packages,
load-module