Hi Sharjeel,

This function is only called from other places in the configs directory. I
would trace back where this function is called from to find what dir_cntrls
is. IIRC, it's created in the protocol-specific python files.

Cheers,
Jason

On Sat, Feb 4, 2017 at 6:06 AM SHARJEEL KHILJI <
sharjeelsaeedkhi...@gmail.com> wrote:

> Hi,
> Thanks for your reply that helped me  a lot. Kindly, if you can tell me
> that where in /src  can I find the definition  of dir_cntrls a list of
> directory controllers. This is used in setup_memory_controllers function in
> ruby.py
> def setup_memory_controllers(system, ruby, dir_cntrls, options):
>
> best regards,
> Sharjeel
>
>
> On 24 January 2017 at 20:41, Jason Lowe-Power <ja...@lowepower.com> wrote:
>
> Hello,
>
> Ruby is known to have issues when using the ARM ISA. It's likely a problem
> with how the system is configured. I would strongly encourage you to not
> use fs.py, but to write a new Python configuration script from scratch if
> you need to do unsupported things like ARM + Ruby. Another option is to use
> Ruby + x86, which is better supported.
>
> As a side note, the option --caches enables the classic caches and --ruby
> enables Ruby, you should choose only one of them. Additionally, the command
> line options for cache sizes may or may not work with Ruby depending on the
> coherence protocol.
>
> Cheers,
> Jason
>
> On Tue, Jan 24, 2017 at 5:01 AM SHARJEEL KHILJI <
> sharjeelsaeedkhi...@gmail.com> wrote:
>
>
> Hi, i am trying to simulate full system NOC (ARM system) with ruby memory
> system and i get following error. I am trying to use different topologies
> to resolve the following error.
> Kindly, if some one can guide me in this regard.
>
> scons build/ARM/gem5.fast PROTOCOL=MI_example -j2
>
> ./build/ARM/gem5.fast configs/example/fs.py --caches --cacheline_size=64
> --l1d_size=32kB --l1i_size=32kB --l2_size=1MB
> --machine-type=VExpress_GEM5_V1 --kernel
> /home/khilji/gem5/m5/system/binaries/vmlinux-aarch32 --disk-image
> /home/khilji/gem5/m5/system/disks/linux-aarch32-ael.img --dtb-filename
> /home/khilji/gem5/m5/system/dtb/armv7_gem5_v1_4cpu.dtb --num-cpus=4
> --cpu-type=timing --mem-size=128MB --numa-high-bit=128 --ruby --num-dirs=4
> --garnet-network=flexible --topology=Mesh --mesh-rows=2
>
> fatal: Port <orphan LinuxArmSystem>.ruby.dir_cntrl0.memory is already
> connected to <orphan DDR3_1600_x64>.port, cannot connect <orphan
> DDR3_1600_x64>.port.
>
> best regards,
>
> Muhammad Sharjeel Khilji
> _______________________________________________
> gem5-users mailing list
> gem5-users@gem5.org
> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
>
> --
>
> Jason
>
> _______________________________________________
> gem5-users mailing list
> gem5-users@gem5.org
> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
>
>
> _______________________________________________
> gem5-users mailing list
> gem5-users@gem5.org
> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
_______________________________________________
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to