What version of the code are you running? Line 829 in the latest SimObject.py doesn't look like it matches with your traceback:
http://repo.gem5.org/gem5/file/92ba80d63abc/src/python/m5/SimObject.py#l829 On Tue, Oct 18, 2011 at 10:09 PM, Tripti Warrier <[email protected]> wrote: > I am using the CacheConfig.py in configs/common to initialize the cache > hierarchy. So for each cache instance in CacheConfig.py, I have added > replacment_policy option as show below. > > system.l2 = L2Cache(size = options.l2_size, assoc = options.l2_assoc, > block_size=options.cacheline_size, latency=options.l2latency, cache_type=2, > replacement_policy='lru') > > I want to add replacement policy enum to allow different replacement > policies in different levels of cache. > > Tripti > > > >Date: Tue, 18 Oct 2011 01:47:30 -0400 > >From: Gabriel Michael Black <[email protected]> > >To: [email protected] > >Subject: Re: [gem5-users] Adding new Enum in gem5 > >Message-ID: <[email protected]> > >Content-Type: text/plain; charset=ISO-8859-1; DelSp="Yes"; > > format="flowed" > > > > >What does the line where you set that property look like? I suspect it > >isn't happy about the value you're assigning to it. > > > >Gabe > > > > > > _______________________________________________ > gem5-users mailing list > [email protected] > http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users >
_______________________________________________ gem5-users mailing list [email protected] http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
