hi everyone,
I am trying to work on systemC in modelsim 6.1 PE. i need to force a user defined value through a .do file making use of proc function. the force command doesn't force values to systemc variables and on using the change comand i get an error saying
Error: (vsim-3661) Unable to change 'a_i': Invalid target for a value change.
the command refernce clearly mentions that i can change values for a scalar c variable using change command and i have declared a_i as a variable of type int. still the error shows up. i have switched on the c debug mode as mentioned in the command refernce.
can some one tell me what am i doing wrong or an alternate way of forcing values to systemc variables.
-----------------
Regards
Goose
I am trying to work on systemC in modelsim 6.1 PE. i need to force a user defined value through a .do file making use of proc function. the force command doesn't force values to systemc variables and on using the change comand i get an error saying
Error: (vsim-3661) Unable to change 'a_i': Invalid target for a value change.
the command refernce clearly mentions that i can change values for a scalar c variable using change command and i have declared a_i as a variable of type int. still the error shows up. i have switched on the c debug mode as mentioned in the command refernce.
can some one tell me what am i doing wrong or an alternate way of forcing values to systemc variables.
-----------------
Regards
Goose