problem: when using the mesh structure test in Ruby memory system, the following error occurred:
Traceback (most recent call Last): File"<string>", Line 1,inch<module> File"/home/fandroid/gem5/src/python/m5/main.py", Line 388,inchMain T = T.tb_next File"configs/example/ruby_fs.py", Line the,inch<module> Ruby.create_system (Options,system,system. Piobus,system._DMA_ports) File"/home/fandroid/gem5/configs/ruby/ruby.py", Line 153,inchCreate_system Routerclass) File"/home/fandroid/gem5/configs/topologies/mesh.py", Line -,inchMaketopology assert (Node.type = =' Dma_controller ') Assertionerror
Workaround: refer to Here
Take a look at the following code:
# the problem is mainly--Num-dirs=16 is not set to cause. --Garnet-network=flexible must also be set, otherwise a deadlock error will occur. BUILD/ALPHA_MOESI_CMP_DIRECTORY/GEM5.Debug Configs/example/ruby_fs.py -N - --l1i_size=32kb --l1d_size=32kb --L2_SIZE=16MB --Num-l2caches=16 --Topology=mesh --CPU-type=timing --Mesh-rows=4 --Num-dirs=16 --Garnet-network=flexible
Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.
GEM5: Assertionerror error occurred using mesh structure in ruby memory system