A
Anton Ng
Guest
Hi All,
I am hitting the wall with PLI 1.0 to obtain a value of a variable in
an array,
This is my problem:
integer var[0:1];
initial begin
var[0] = 100;
var[1] = 101;
end
What I am trying to do with PLI, is to get the value of var[0]. Is there
an access function for this?
I can do this for a scalar variable, by using acc_handle_by_name and
then using acc_fetch_value. However it seems like array variables needs
to treated differently.
Does anyone know the solution for this problem?
Any help would be appreciated.
Thanks
Anton
I am hitting the wall with PLI 1.0 to obtain a value of a variable in
an array,
This is my problem:
integer var[0:1];
initial begin
var[0] = 100;
var[1] = 101;
end
What I am trying to do with PLI, is to get the value of var[0]. Is there
an access function for this?
I can do this for a scalar variable, by using acc_handle_by_name and
then using acc_fetch_value. However it seems like array variables needs
to treated differently.
Does anyone know the solution for this problem?
Any help would be appreciated.
Thanks
Anton