Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gem5 to Mcpat #4

Open
jrpdn opened this issue Sep 12, 2019 · 1 comment
Open

Gem5 to Mcpat #4

jrpdn opened this issue Sep 12, 2019 · 1 comment

Comments

@jrpdn
Copy link

jrpdn commented Sep 12, 2019

Hi,
I have used the parser given by you, but it gives me the following error
Traceback (most recent call last):
File "Gem5ToMcPAT-Parser.py", line 301, in
main()
File "Gem5ToMcPAT-Parser.py", line 298, in main
dumpMcpatOut(args.output)
File "Gem5ToMcPAT-Parser.py", line 267, in dumpMcpatOut
param.attrib['value'] = str(eval(str(value)))
File "", line 1, in
TypeError: unsupported operand type(s) for /: 'float' and 'list'
Please can anyone help me to rectify it.

Thanks and best regards.

@Nisarg-Sheth
Copy link

This error is mostly due to your template.xml file. The stats in your template.xml file do not match the stats in your stats.txt file from gem5. Print 'value' before line 267 and check the last parameter printed. This last parameter would be the statistic your parser is looking for in stats.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants