ok thanks it is now fine On 3/3/12, Nilay Vaish <[email protected]> wrote: > I think the line you need to add is > cpu.createInterruptController() > > and not > system.cpu.createInterruptController() > > -- > Nilay > > On Sat, 3 Mar 2012, Mahmood Naderan wrote: > >> same error >> >> On 3/3/12, Nilay Vaish <[email protected]> wrote: >>> Recompile gem5! >>> >>> -- >>> Nilay >>> >>> On Sat, 3 Mar 2012, Mahmood Naderan wrote: >>> >>>> Hi, >>>> In my cmp.py I added createInterruptController() just like the one in >>>> CacheConfig.py >>>> >>>> for cpu in cpus: >>>> cpu.addPrivateSplitL1Caches(L1Cache(), >>>> L1Cache()) >>>> # connect cpu level-1 caches to shared level-2 cache >>>> system.cpu.createInterruptController() >>>> cpu.connectAllPorts(system.toL2bus, system.membus) >>>> >>>> However I get this error: >>>> >>>> File "configs/example/cmp.py", line 89, in <module> >>>> system.cpu.createInterruptController() >>>> AttributeError: 'SimObjectVector' object has no attribute >>>> 'createInterruptController' >>>> >>>> How can I fix that? >>>> thanks >>>> -- >>>> // Naderan *Mahmood; >>>> >>> _______________________________________________ >>> gem5-users mailing list >>> [email protected] >>> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users >>> >> >> >> -- >> -- >> // Naderan *Mahmood; >> _______________________________________________ >> 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 >
-- -- // Naderan *Mahmood; _______________________________________________ gem5-users mailing list [email protected] http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
