Previous - Up - Next

9.4   Migrating Python Code from Older Versions

To run a Python module, or some other Python Code, in Simics that was written for an older version, the old API define has to be included early in the Python source file. For example, to run Python code written for Simics 2.0, add the following line:

from simics_2_0_api import *

Previous - Up - Next