Closed isaar-ahmad closed 4 years ago
Did you build with the ruby protocol specified as follow?
scons build/X86/gem5.opt PROTOCOL=MESI_Two_Level_aladdin
Hi Yuan,
After building with the above flag MESI_Two_Level_aladdin
, the example ran successfully. This issue seems resolved.
Thanks,
Isaar
I ran the default run.sh script for test_multiple_accelerators example and got the following error:
On investigating further, I found the assertion error is due to "ruby" option in run.sh.
The failing assertion was:
assert(options.num_cpus + 3*len(system.find_all(HybridDatapath)[0] + \ system.find_all(SystolicArray)[0]) == len(system.ruby._cpu_ports))
I printed the str(arg) of each of the arguments in the assertion. These are the values.
str(options.num_cpus) = 1, str(len(system.find_all(HybridDatapath)[0]) ) = 4, str (system.find_all(SystolicArray)[0]) ) = [], str (len(system.ruby._cpu_ports) ) = 1
Hope this helps. Also, can you comment why len(system.ruby._cpu_ports) equals 1 ?Thanks, Isaar