Hi Eric, It should be as simple as using a "VectorParam" of whatever type you want. Instead of using "Param.TLB", use "VectorParam.TLB" in the SimObject definition file. Then, in the config script, you can assign this variable with a Python list.
Jason On Sat, Nov 5, 2016 at 5:35 PM eric van tassell <[email protected]> wrote: > to be able to have attributes in the python class member so a vector of > pointers to other types of object can be passed to c++ (for example TLBs > (not tlb ports)) > > -- > - evt > (Eric van Tassell) > twitter: evt_texelsoft > linked-in: linkedin.com/in/evttxl > _______________________________________________ > gem5-dev mailing list > [email protected] > http://m5sim.org/mailman/listinfo/gem5-dev > _______________________________________________ gem5-dev mailing list [email protected] http://m5sim.org/mailman/listinfo/gem5-dev
