Hi All,

I am trying to pass garnet-network pointer to CPU-sequencers in gem5.
To achieve this, I incorporated a few changes, attached with this mail 
(changes.diff).
I was able to build gem5 for Garnet_standalone protocol. However, I got 
configuration error (reproduced at the end of this mail) while running gem5.
It looks like the error came because there is "cycle" present in the way system 
is configured by the python scripts?

Any help in this regards would be very helpful.
Thanks in advance.

Best regards,
Mayank
Error:
----
Global frequency set at 1000000000 ticks per second
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "build/Garnet_standalone/python/m5/main.py", line 438, in main
    exec(filecode, scope)
  File "configs/example/garnet_synth_traffic.py", line 155, in <module>
    m5.instantiate()
  File "build/Garnet_standalone/python/m5/simulate.py", line 118, in instantiate
    for obj in root.descendants(): obj.createCCObject()
  File "build/Garnet_standalone/python/m5/SimObject.py", line 1639, in 
createCCObject
    self.getCCParams()
  File "build/Garnet_standalone/python/m5/SimObject.py", line 1580, in 
getCCParams
    value = value.getValue()
  File "build/Garnet_standalone/python/m5/SimObject.py", line 1643, in getValue
    return self.getCCObject()
  File "build/Garnet_standalone/python/m5/SimObject.py", line 1621, in 
getCCObject
    params = self.getCCParams()
  File "build/Garnet_standalone/python/m5/SimObject.py", line 1580, in 
getCCParams
    value = value.getValue()
  File "build/Garnet_standalone/python/m5/SimObject.py", line 1643, in getValue
    return self.getCCObject()
  File "build/Garnet_standalone/python/m5/SimObject.py", line 1621, in 
getCCObject
    params = self.getCCParams()
  File "build/Garnet_standalone/python/m5/SimObject.py", line 1580, in 
getCCParams
    value = value.getValue()
  File "build/Garnet_standalone/python/m5/params.py", line 254, in getValue
    return [ v.getValue() for v in self ]
  File "build/Garnet_standalone/python/m5/SimObject.py", line 1643, in getValue
    return self.getCCObject()
  File "build/Garnet_standalone/python/m5/SimObject.py", line 1621, in 
getCCObject
    params = self.getCCParams()
  File "build/Garnet_standalone/python/m5/SimObject.py", line 1580, in 
getCCParams
    value = value.getValue()
  File "build/Garnet_standalone/python/m5/SimObject.py", line 1643, in getValue
    return self.getCCObject()
  File "build/Garnet_standalone/python/m5/SimObject.py", line 1621, in 
getCCObject
    params = self.getCCParams()
  File "build/Garnet_standalone/python/m5/SimObject.py", line 1580, in 
getCCParams
    value = value.getValue()
  File "build/Garnet_standalone/python/m5/SimObject.py", line 1643, in getValue
    return self.getCCObject()
  File "build/Garnet_standalone/python/m5/SimObject.py", line 1625, in 
getCCObject
    % self.path())
RuntimeError: system.ruby.l1_cntrl0.sequencer: Cycle found in configuration 
hierarchy.

Attachment: changes.diff
Description: changes.diff

_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to