Re: [sv-bc] Unpacked subroutine arguments can't have default values?

From: Brad Pierce <Brad.Pierce_at_.....>
Date: Sun Dec 18 2005 - 18:14:53 PST
I meant 

 

      typedef int T [255];

 

      function automatic T foo ( T in1, in2 = '{default:0} ) ;

          foreach (foo[i]) foo[i] = in1[i] + in2[i];

      endfunction : foo

 

-- Brad

 

 
Received on Sun Dec 18 18:15:00 2005

This archive was generated by hypermail 2.1.8 : Sun Dec 18 2005 - 18:15:20 PST