Tasks && Functions in SV

2 posts / 0 new
Last post
nippuletiabhinav
Offline
Academy Total Access User
Joined: 04/28/2011
Posts: 2
Tasks && Functions in SV

I have declared few methods (tasks) in my base class. I will be extending this class and in my new class I will call these tasks run time. In future there I my be calling these tasks with separate calling parameters at same time,(like for-join). Do I need to define these tasks with keyword automatic to avoid stepping into each other values? Or by default SV tasks are automatic. Thanks in advance

dave_59
Offline
Verification Forum Moderator
Joined: 03/10/2010
Posts: 976
Re: Tasks && Functions in SV

Methods defined in classes are default to be automatic. In fact, in the latest LRM, they can ONLY be automatic so as not to confuse function static with static function.

A method can still have individual static variables though.

__________________

Dave Rich
Mentor Graphics
http://go.mentor.com/drich