Re: [sv-ac] final final proposal 19


Subject: Re: [sv-ac] final final proposal 19
From: Adam Krolnik (krolnik@lsil.com)
Date: Tue Jan 13 2004 - 07:56:19 PST


Hi Surrendra;

YOu suggested:

-----------
"A call to a void function that is attached to a sequence causes the void
function to be executed immediately as a part of evaluating the sequence"

Also, would it better to explicitly state that the list is ordered, and each
item in the list is processed in the order it appears in the list?
------------

I don't believe this is correct. Consider a sequence

a ##1 (b, do_this_func(a), lv = and_this_func(c))

function void do_this_func;
   input a;

   begin
   $display("The input here is %h.", a);
   end
endfunction

function int and_this_func;
   input c;
   and_this_func = c + 1;
endfunction

Does the function do_this_func block because the $display statement is within it?
Does that block the function and_this_func from executing?

     Adam Krolnik
     Verification Mgr.
     LSI Logic Corp.
     Plano TX. 75074
     Co-author "Assertion Based Design"



This archive was generated by hypermail 2b28 : Tue Jan 13 2004 - 07:57:02 PST