Domanda di colloquio di NETINT Technologies

what is the difference between 'task' and 'function' in verilog