On Thu, Aug 23, 2012 at 1:41 PM, Alireza Haghdoost <[email protected]>wrote:
> Hi > > I have configured Marss simulator to simulate atom processor. However, > when I want to switch to full system simulation mode, it reports > following error: > > Simulator is now waiting for a 'run' command. > PTLCALL type PTLCALL_ENQUEUE > MARSSx86::Command received : -run > ::ERROR::Can't find 'atom_machine' machine generator. > qemu-system-x86_64: ptlsim/build/sim/machine.cpp:532: void > MachineBuilder::setup_machine(BaseMachine&, const char*): Assertion > `gen' failed. > Aborted (core dumped) > > I think something is wrong with my configuration file. Would you > please take a look at my default.conf file ? Is there anything wrong > with this config ? > > Well configuration file looks ok. Is there 'atom_machine_gen.cpp' file in 'ptlsim/build/sim' directory? If this file is created means there is no issue in configuration. One thing to check is in your config you are setting max_context to 1 so if you are compiling with more than 1 cpus then this configuration wont compile. Please check if you have compiled with correct number of cores. - Avadh > > ----------start of default.conf ---------------- > > # vim: filetype=yaml > # > # All core and cache configuration will be in a separate file and that > will be > # included in the final config file using 'import: [filename, ...]' > > # Import files that define various core/caches > import: > - ooo_core.conf > - atom_core.conf > - l1_cache.conf > - l2_cache.conf > - moesi.conf > > memory: > dram_cont: > base: simple_dram_cont > > machine: > # Use run-time option '-machine [MACHINE_NAME]' to select > atom_machine: > description: Single Core atom configuration > min_contexts: 1 > max_contexts: 1 > cores: # The order in which core is defined is used to assign > # the cores in a machine > - type: atom > name_prefix: atom_ > option: > threads: 1 > caches: > - type: l1_128K > name_prefix: L1_I_ > insts: $NUMCORES # Per core L1-I cache > - type: l1_128K > name_prefix: L1_D_ > insts: $NUMCORES # Per core L1-D cache > - type: l2_2M > name_prefix: L2_ > insts: 1 # Shared L2 config > memory: > - type: dram_cont > name_prefix: MEM_ > insts: 1 # Single DRAM controller > option: > latency: 50 # In nano seconds > interconnects: > - type: p2p > # '$' sign is used to map matching instances like: > # core_0, L1_I_0 > connections: > - core_$: I > L1_I_$: UPPER > - core_$: D > L1_D_$: UPPER > - L1_I_0: LOWER > L2_0: UPPER > - L1_D_0: LOWER > L2_0: UPPER2 > - L2_0: LOWER > MEM_0: UPPER > > ---------- end of default.conf ---------------- > > _______________________________________________ > http://www.marss86.org > Marss86-Devel mailing list > [email protected] > https://www.cs.binghamton.edu/mailman/listinfo/marss86-devel >
_______________________________________________ http://www.marss86.org Marss86-Devel mailing list [email protected] https://www.cs.binghamton.edu/mailman/listinfo/marss86-devel
