Hi all,
I have defined a net in this way:
typedef struct{
real V;
real I;
} EEstruct;
function automatic EEstruct res_EE(input EEstruct driver[]);
foreach(driver[i]) begin
.....
to debug my resolution function I need to know which driver is driving the net. How can I know this information?
what kind of data structure driver is? Is there a name field in the driver element or somthing like that?
Another questione,
In the testbench I assign the net in the following way:
assign mynet = '{1.0,2.0}; // is this correct?
assign mynet2 = '{`wrealZState, `wrealZState};
Are this assignment correct?
Thanks,
Jack