blarsen
Newbie

I'm new to Verilog. I'm reading "A Verilog HDL Primer" by Bhasker along with other Verilog description sources. I have a question about tasks, functions, and modules. Why would you use a task or function within a module instead of just writing Verilog in a module
and then instantiate the module? I hope my question is clear. Thanks.
and then instantiate the module? I hope my question is clear. Thanks.