[sv-bc] Task and Function inout port with default argument

From: Sonjoy Mondal <sonjoy_at_.....>
Date: Sun Dec 17 2006 - 23:22:42 PST
Hi,


       can Task or Function inout port be assigned to a constant as 
default argument? such as

     function signed [11:0] FUNC1(input signed [7:0] in1, inout reg 
signed [9:0] in2 = -15);

    if yes then how the value of inout port in2 is copied into the 
actual when  subroutine returns?






Sonjoy
Received on Sun Dec 17 23:24:41 2006

This archive was generated by hypermail 2.1.8 : Sun Dec 17 2006 - 23:25:01 PST