gem5-users@gem5.org

The gem5 Users mailing list

View all threads

Facing issue in using gem5

CF
CHETAN FADNIS
Wed, Dec 20, 2023 8:22 AM

Hello,

While I run a simple Hello World code, it gives following error,
fatal: The 'configs/example/se.py' script has been deprecated. It can be found in 'configs/deprecated/example' if required. Its usage should be avoided as it will be removed in future releases of gem5.
I tried changing the path, also tried to find the newer versions. Can you help me in this regard where to find the latest version. I have currently installed the version from gem5.org itself.
I want to estimate the simulation time and power of a ldpc encoder.  I have implemented the encoder in python, encoder.py file is then simulated using gem5. Do I have to write behavior (C++) for simulation phase? Am I getting it correctly? But I have no idea regarding how to start with behavior script! Can you give some insight?

Regards,
CHETAN

Hello, While I run a simple Hello World code, it gives following error, fatal: The 'configs/example/se.py' script has been deprecated. It can be found in 'configs/deprecated/example' if required. Its usage should be avoided as it will be removed in future releases of gem5. I tried changing the path, also tried to find the newer versions. Can you help me in this regard where to find the latest version. I have currently installed the version from gem5.org itself. I want to estimate the simulation time and power of a ldpc encoder. I have implemented the encoder in python, encoder.py file is then simulated using gem5. Do I have to write behavior (C++) for simulation phase? Am I getting it correctly? But I have no idea regarding how to start with behavior script! Can you give some insight? Regards, CHETAN
GB
gabriel.busnot@arteris.com
Wed, Dec 20, 2023 3:43 PM

Hi Chetan,

se.py is no longer supported and will never be supported again. configs/deprecated/example/se.py in its current shape is all you will get as far as se.py is concerned.
Hopefully, there’s the gem5 standard library! You can find many preconfigured components and board configurations under configs/example as well as tests/gem5/configs. Use these examples as a starting point for your own tailored solution.

tests/gem5/configs/simple_binary_run.py probably is a good starting point.

Regards,

Gabriel

Hi Chetan, se.py is no longer supported and will never be supported again. configs/deprecated/example/se.py in its current shape is all you will get as far as se.py is concerned.\ Hopefully, there’s the gem5 standard library! You can find many preconfigured components and board configurations under configs/example as well as tests/gem5/configs. Use these examples as a starting point for your own tailored solution. tests/gem5/configs/simple_binary_run.py probably is a good starting point. Regards, Gabriel
GB
gabriel.busnot@arteris.com
Wed, Dec 20, 2023 3:50 PM

Regarding the rest of your question, I suggest getting familiar with the gem5 basics reading the “learning gem5” course. It will tell you what you need to know to figure out how gem5 could help you in your research.

Unless I misunderstand what you are trying to achieve, you will likely have to define a SimObject version of your python model in order to intergrate it to gem5.

Regards,

Gabriel

Regarding the rest of your question, I suggest getting familiar with the gem5 basics reading the “learning gem5” course. It will tell you what you need to know to figure out how gem5 could help you in your research. Unless I misunderstand what you are trying to achieve, you will likely have to define a SimObject version of your python model in order to intergrate it to gem5. Regards, Gabriel
CF
CHETAN FADNIS
Wed, Dec 20, 2023 5:50 PM

[like]  CHETAN FADNIS reacted to your message:


From: gabriel.busnot--- via gem5-users gem5-users@gem5.org
Sent: Wednesday, December 20, 2023 3:50:20 PM
To: gem5-users@gem5.org gem5-users@gem5.org
Cc: gabriel.busnot@arteris.com gabriel.busnot@arteris.com
Subject: [gem5-users] Re: Facing issue in using gem5

You don't often get email from gem5-users@gem5.org. Learn why this is importanthttps://aka.ms/LearnAboutSenderIdentification

Regarding the rest of your question, I suggest getting familiar with the gem5 basics reading the “learning gem5” course. It will tell you what you need to know to figure out how gem5 could help you in your research.

Unless I misunderstand what you are trying to achieve, you will likely have to define a SimObject version of your python model in order to intergrate it to gem5.

Regards,

Gabriel

[like] CHETAN FADNIS reacted to your message: ________________________________ From: gabriel.busnot--- via gem5-users <gem5-users@gem5.org> Sent: Wednesday, December 20, 2023 3:50:20 PM To: gem5-users@gem5.org <gem5-users@gem5.org> Cc: gabriel.busnot@arteris.com <gabriel.busnot@arteris.com> Subject: [gem5-users] Re: Facing issue in using gem5 You don't often get email from gem5-users@gem5.org. Learn why this is important<https://aka.ms/LearnAboutSenderIdentification> Regarding the rest of your question, I suggest getting familiar with the gem5 basics reading the “learning gem5” course. It will tell you what you need to know to figure out how gem5 could help you in your research. Unless I misunderstand what you are trying to achieve, you will likely have to define a SimObject version of your python model in order to intergrate it to gem5. Regards, Gabriel