T
thomasc
Guest
Say I need to call tasks, functions and other modules from a procedural
construct and that the parameters(for the tasks, functions and modules)
and LHS of assignments in the procedural block consists of both regs and
nets.
Then do I need to declare temporary regs for the wires? and assign those
temp regs to wires outside the procedural block?
Please let me know if my understanding is correct. If not, let me know
what I should do in such a case. Thanks!
construct and that the parameters(for the tasks, functions and modules)
and LHS of assignments in the procedural block consists of both regs and
nets.
Then do I need to declare temporary regs for the wires? and assign those
temp regs to wires outside the procedural block?
Please let me know if my understanding is correct. If not, let me know
what I should do in such a case. Thanks!