LRM1800-2009 adds new statement to the desc of module header:
"The module header defines the following: - The default lifetime (static
or automatic) of subroutines defined within the module"
My questiion is if default lifetime for module should be deafult only for
subroutines declared inside such module or also to block declared in this
module - see below example:
module automatic top;
bit clk;
initial repeat (10) #10 clk = ~clk;
always @(clk)
begin
int a = 0; //<<<<this variable should be static or atuomatic???
$display(a);
a++;
end
endmodule
DANiel
-- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.Received on Thu Feb 11 02:22:29 2010
This archive was generated by hypermail 2.1.8 : Thu Feb 11 2010 - 02:23:01 PST