Hi Manisha, According to the grammar variable declaration cannot be put directly into the action block. But a sequential or a parallel blocks can be instantiated, and there it should be possible to declare variables. As far as I understand blocks inherit the lifetime from the outer enteritis, functions, modules, etc. If you need, you can explicitly specify the lifetime of a variable. Thanks, Dmitry ________________________________ From: owner-sv-ac@server.eda.org [mailto:owner-sv-ac@server.eda.org] On Behalf Of Kulshrestha, Manisha Sent: Wednesday, June 13, 2007 9:55 AM To: sv-ac@server.eda-stds.org Subject: [sv-ac] question about variables declared in action block Hi, I do not see any information in the current LRM about variable declarations in action block. Is it allowed ? If yes, do these variable behave like static variables or automatic variables ? Basically, does each execution of action block create new variable on the stack (like automatic) or these variables are shared for each execution of action block and different executions can overwrite each other's value. Thanks. Manisha -- This message has been scanned for viruses and dangerous content by MailScanner <http://www.mailscanner.info/> , and is believed to be clean. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.Received on Wed Jun 13 00:32:09 2007
This archive was generated by hypermail 2.1.8 : Wed Jun 13 2007 - 00:32:30 PDT