[sv-cc] Name of t/f vpiRefObj

From: Radoslaw Nawrot <Radoslaw.Nawrot@aldec.com.pl>
Date: Wed Apr 24 2013 - 00:06:51 PDT
Hello,
I have problem with LRM interpretation.
SV example:
 
module top;
bit b;
 
task automatic tsk(ref x);
$vpi(x);
endtask
 
initial 
    tsk(b);
endmodule
 
From $vpi argument:
 
vpiType == vpiRefObj
vpiName == x
vpiDefName == b
 
And vpiActual relation gives be :
vpiBitVar with vpiName == b 
 
Am I right?
Or maybe if $vpi argument should be vpiName ==b , vpiType ==vpiBitVar?
 
And 2nd question:
 
 If I pass variables via few ref's vpiActual should return the near
vpiRefObj or vpiVariable from top layer ?
 
Regards,
Radek
 

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Received on Wed, 24 Apr 2013 09:06:51 +0200

This archive was generated by hypermail 2.1.8 : Wed Apr 24 2013 - 00:09:02 PDT