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

A problem:TypeError: __init__() takes exactly 1 argument (2 given) #15

Open
PeterLiudong opened this issue Apr 16, 2021 · 0 comments
Open

Comments

@PeterLiudong
Copy link

I got a problem when connecting gem5 and Dramsim3

File "configs/example/cmp.py", line 81, in <module>
system.cpu[i].workload = process[i]
File "/home/mahmood/gem5/src/python/m5/SimObject.py", line 627, in __setattr__
value = param.convert(value)
File "/home/mahmood/gem5/src/python/m5/params.py", line 236, in convert
tmp_list = [ ParamDesc.convert(self, value) ]
File "/home/mahmood/gem5/src/python/m5/params.py", line 159, in convert
return self.ptype(value)
TypeError: __init__() takes exactly 1 argument (2 given)
Error setting param MemCtrl.dram to <orphan DRAMsim3>

Do you know how to solve it?

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

1 participant