Hi,

I build MARSS with DRAMSim using single atom core and it runs fine. I need 
to implement 3 cores with 3 threads. I applied the below commands

1- scons -Q debug=2 -j3 c=3 
dramsim=/home/ashafik/NEW_20140724/marwdram/DRAMSim2

2- change the configuration of atom_core

 # Atom core
  atom_core:
    description: Single Atom Core configuration
    min_contexts: 1
    max_contexts: 3 # The number of cores ... Is that right ? 
    cores: # The order in which core is defined is used to assign
           # the cores in a machine
      - type: atom
        name_prefix: atom_
        option:
            threads: 3
    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

3- run the Qemu command
qemu/qemu-system-x86_64 -simconfig 
/home/ashafik/NEW_20140724/marwdram/marss.dramsim/config/default.conf -hda 
/home/ashafik/full_system_images/ubuntu-natty.qcow2 &

4- run the simconfig command in VM console 

(qemu) simconfig -run -stats test1 -machine atom_core

5- get the below error. am I missing something?

VNC server running on `127.0.0.1:5900'
::ERROR::Can't find 'atom_core' machine generator.
qemu-system-x86_64: ptlsim/build/sim/machine.cpp:532: void 
MachineBuilder::setup_machine(BaseMachine&, const char*): Assertion `gen' 
failed.

Thanks and BR,
Ahmed


_______________________________________________
http://www.marss86.org
Marss86-Devel mailing list
[email protected]
https://www.cs.binghamton.edu/mailman/listinfo/marss86-devel

Reply via email to