You should create your own class in C++ and instantiate it in Python. You also
have to add SimObject('YourInstance.py') and Source('class.cpp') to your
SConscript
----- Mensaje original -----
De: "Kumail Ahmed" <[email protected]>
Para: "gem5 users mailing list" <[email protected]>
Enviados: Martes, 14 de Abril 2015 3:34:10
Asunto: [gem5-users] Adding New Class to GEM5/src
Hello everyone,
how can I add a new class to GEM5 and compile through SCONS?
Currently, it gives an error, and doesn't allow to me add my own class.
--
Best Regards,
Kumail Ahmed
M.Sc. Student
TU Kaiserslautern
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
--
Marcos Horro Varela
Representante de alumnos Dpto. Electrónica y Sistemas
Universidade da Coruña
+34 618 626 737
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users