summaryrefslogtreecommitdiff
path: root/src/python/swig/system.i
diff options
context:
space:
mode:
Diffstat (limited to 'src/python/swig/system.i')
-rw-r--r--src/python/swig/system.i7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/python/swig/system.i b/src/python/swig/system.i
index a95101bf7..5e36b4ac5 100644
--- a/src/python/swig/system.i
+++ b/src/python/swig/system.i
@@ -28,9 +28,12 @@
* Authors: Nathan Binkert
*/
-%module sim_object
+%{
+#include "sim/system.hh"
+%}
-%include "enums/MemoryMode.hh"
+%import "python/swig/sim_object.i"
+%import "enums/MemoryMode.hh"
class System : public SimObject
{