Hi,
I have added another prameter to DerivO3CPU and turn it to
class DerivO3CPU : public FullO3CPU<O3CPUImpl>
{
public:
DerivO3CPU(DerivO3CPUParams *p, My_param *mp) /* chnaged by mahmood */
: FullO3CPU<O3CPUImpl>(p, mp)
{ }
};
I also fix some other classes and functions so gcc is happy and there
is no problem with compilation.
The problem is when I run the program it says:
File "/home/mahmood/gem5/src/python/m5/SimObject.py", line 948, in getCCObject
self._ccObject = params.create()
File "/home/mahmood/gem5/build/X86_SE/python/m5/internal/param_DerivO3CPU.py",
line 107, in create
def create(self, *args): return
_param_DerivO3CPU.DerivO3CPUParams_create(self, *args)
TypeError: DerivO3CPUParams_create expected 2 arguments, got 1
The problematic line says:
def create(self, *args): return
_param_DerivO3CPU.DerivO3CPUParams_create(self, *args)
He is right that the number of arguments are not equal but I don't
know how to fix that python line.
Does anyone know?
--
// Naderan *Mahmood;
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users