When you do the command "hg tip" do you see this: "changeset: 6230:240a5a39e56f user: Nathan Binkert <[email protected]> date: Fri Jun 05 17:01:19 2009 -0700 summary: cleanup: Make use of types properly and make the loop a little more clear. "
If not, it would seem you working off a different version of the code than that page is written for. On Thu, Mar 31, 2011 at 4:34 AM, Hasina Khatoon <[email protected]> wrote: > I am trying to simulate my own CPU with a simple configuration. I am > following the guidelines given in the document titled ‘Defining CPU Models > stable tree v6230’. When I try to build the CPU with the command > > Scons build/MIPS_SE/m5.debug CPU_MODEL=MyCPU > > the build stops after giving the following error > > scons: Reading SConscript files ... > > .hg directory not found > > Checking for leading underscore in global variables...(cached) no > > Checking for C header file Python.h... (cached) yes > > Checking for C library pthread... (cached) yes > > Checking for C library dl... (cached) yes > > Checking for C library util... (cached) yes > > Checking for C library m... (cached) yes > > Checking for C library python2.6... (cached) yes > > Checking for accept(0,0,0) in C++ library None... (cached) yes > > Checking for zlibVersion() in C++ library z... (cached) yes > > Checking for C header file fenv.h... (cached) yes > > Reading /home/ali/m5/m5-stable-f299139501f7/src/mem/protocol/SConsopts > > Reading /home/ali/m5/m5-stable-f299139501f7/src/mem/ruby/SConsopts > > Reading /home/ali/m5/m5-stable-f299139501f7/src/arch/mips/SConsopts > > Reading /home/ali/m5/m5-stable-f299139501f7/src/arch/arm/SConsopts > > Reading /home/ali/m5/m5-stable-f299139501f7/src/arch/alpha/SConsopts > > Reading /home/ali/m5/m5-stable-f299139501f7/src/arch/power/SConsopts > > Reading /home/ali/m5/m5-stable-f299139501f7/src/arch/x86/SConsopts > > Reading /home/ali/m5/m5-stable-f299139501f7/src/arch/sparc/SConsopts > > Reading /home/ali/m5/m5-stable-f299139501f7/src/cpu/ozone/SConsopts > > Reading /home/ali/m5/m5-stable-f299139501f7/src/cpu/simple/SConsopts > > Reading /home/ali/m5/m5-stable-f299139501f7/src/cpu/inorder/SConsopts > > Reading /home/ali/m5/m5-stable-f299139501f7/src/cpu/o3/SConsopts > > Reading /home/ali/m5/m5-stable-f299139501f7/src/cpu/checker/SConsopts > > Reading /home/ali/m5/m5-stable-f299139501f7/src/cpu/mycpu/SConsopts > > NameError: name 'all_cpu_list' is not defined: > > File "/home/ali/m5/m5-stable-f299139501f7/SConstruct", line 672: > > SConscript(joinpath(root, 'SConsopts')) > > File "/usr/local/lib/scons-1.3.1/SCons/Script/SConscript.py", line 616: > > return apply(method, args, kw) > > File "/usr/local/lib/scons-1.3.1/SCons/Script/SConscript.py", line 553: > > return apply(_SConscript, [self.fs,] + files, subst_kw) > > File "/usr/local/lib/scons-1.3.1/SCons/Script/SConscript.py", line 262: > > exec _file_ in call_stack[-1].globals > > File "/home/ali/m5/m5-stable-f299139501f7/src/cpu/mycpu/SConsopts", line > 33: > > all_cpu_list.append('MyCPU') > > > > Can some one please help me and tell me where the problem is and how can I > get over it? > > > > > > Thanks in advance. > > Hasina Khatoon > > > _______________________________________________ > m5-users mailing list > [email protected] > http://m5sim.org/cgi-bin/mailman/listinfo/m5-users > -- - Korey _______________________________________________ m5-users mailing list [email protected] http://m5sim.org/cgi-bin/mailman/listinfo/m5-users
