9121
9121

Reputation: 89

What is default storage of tasks and functions in verilog? (automatic/static)?

Also, is the default storage different in case of system verilog?

Upvotes: 0

Views: 1357

Answers (1)

dave_59
dave_59

Reputation: 42698

The default storage is static. SystemVerilog is backward compatible with Verilog; existing Verilog code semantics cannot be changed. However, the storage of tasks and functions declared inside classes is always automatic. Please read this post for a complete explanation.

Upvotes: 3

Related Questions