Here's one:

http://repo.m5sim.org/m5/file/77aa0f94e7f2/src/cpu/BaseCPU.py#l91

Gabe

On 03/10/11 16:40, nathan binkert wrote:
> I'm traveling so I don't have Access to code. Just grep for VectorParam.
>
>   Nate
>
> On Thu, Mar 10, 2011 at 3:55 PM, nathan binkert <bink...@gmail.com> wrote:
>> I'm traveling so I don't have Access to code. Just grep for VectorParam
>>
>> On Mar 10, 2011, at 15:01, Nilay Vaish <ni...@cs.wisc.edu> wrote:
>>
>>> Can you point out an example of vector parameter? That should serve my 
>>> purpose.
>>>
>>> Thanks
>>> Nilay
>>>
>>> On Thu, 10 Mar 2011, nathan binkert wrote:
>>>
>>>>> As I understand, we use Python objects to initialize C++ objects. Is it
>>>>> possible to pass a pointer to an array (dynamic sized) from Python to C++?
>>>> What do you mean a pointer?  We do have VectorParams that allow us to
>>>> pass an stl vector of any parameter type to a class.  If you mean a
>>>> SimObject pointer, then just say VectorParam.SimObject instead of
>>>> Param.SimObject
>>>>
>>>> Is that what you mean?
>>>>
>>>> Nate
>>>> _______________________________________________
>>>> m5-dev mailing list
>>>> m5-dev@m5sim.org
>>>> http://m5sim.org/mailman/listinfo/m5-dev
>>>>
>>> _______________________________________________
>>> m5-dev mailing list
>>> m5-dev@m5sim.org
>>> http://m5sim.org/mailman/listinfo/m5-dev
> _______________________________________________
> m5-dev mailing list
> m5-dev@m5sim.org
> http://m5sim.org/mailman/listinfo/m5-dev

_______________________________________________
m5-dev mailing list
m5-dev@m5sim.org
http://m5sim.org/mailman/listinfo/m5-dev

Reply via email to