Code: Select all
select {
case i_debug_if.get_counts (unsigned int& index_, long signed& sample_):
index_ = index;
sample_ = sample;
break;
}
Code: Select all
select {
case i_debug_if.get_counts (unsigned int& index_, long signed& sample_):
index_ = index;
sample_ = sample;
break;
}
Code: Select all
get_counts(x,y)
Thank you!henk wrote:Hi zhengyang,
It means that this parameter is passed by reference, i.e., you can call
without '&' and both x and y will be overwritten by the call. It is the same as defining the parameter with a '*' and calling it with an '&'.Code: Select all
get_counts(x,y)
Cheers,
Henk