This command will load a loadable device module into WRspice.
devload [module_path]
WRspice supports runtime-loadable device modules. Once loaded, the corresponding device is available during simulation runs, in the same way as the internally-compiled devices in the device library.
This command can be used at any time to load a device module into WRspice. If given without arguments, a list of the dynamically loaded device modules currently in memory is printed. Otherwise, the single argument is a path to the loadable device module file to be loaded.
Once a module is loaded, it can not be unloaded. However, if a module is subsequently loaded that has the same key letter and model level as an existing loaded module, the existing module will be replaced. If a module is loaded that has the same key letter and model level as a compiled-in library device, the module will not be accessible, and an error message will appear. It is not possible to overwrite the internal devices.
On program startup, all loadable devices found in the devices subdirectory of the installation startup directory (which is generally installed as /usr/local/share/xictools/wrspice/startup/devices) will be loaded automatically. This can be skipped by invoking WRspice with the -m option in the command line.