[gem5-users] Re: Referencing an upstream component in parameters

2021-04-13 Thread Jason Lowe-Power via gem5-users
Hi Gabriel, First, Ruby is a bit of a mess as far as circular dependencies go. Some of this is historic, and some of it is inherent to the design. I'm not too surprised you're running into this issue. The SimObject initialization is documented here: http://doxygen.gem5.org/release/current/classSi

[gem5-users] Re: Referencing an upstream component in parameters

2021-04-13 Thread gabriel.busnot--- via gem5-users
I am currently hacking my way through it using the NodeID (e.g, (A).version on python side) as a parameter of controller (B) so that I can basically write in (B)'s state machine : MachineID proxiedController := createMachineID(MachineType:, proxiedNodeID); It seems to work for now but I wou

[gem5-users] Referencing an upstream component in parameters

2021-04-13 Thread gabriel.busnot--- via gem5-users
Hi, I need to reference an upstream controller (A) in the parameters of another ruby controller (B). (B) is a downstream_destination for (A) in the ruby system. However, using a Param.RubyController in (B) to reference (A) obviously creates a cycle in the hierarchy. How can I get the MachineID o