usally funcions are synthesisable ... these deonte purely combinational circuits ... remember that delay is not allowed in funciotions ?? but tasks allow delays and wait and so tools find it difficult to synthesize
Hi,
abhineet22 It seems that you have got some question paper and you want to solve it!
Both are functions and task are synthesizable under some constrants. To find out more
read HDL synthesis primer by J bhaskar
Dont just post the questions here it wont help! If you now the answer you can post it
here and check whether its right or wrong.
The idea of Synthesis came from compiler of programing language. We can't always use machine code to make computer work for us. Just like we can't always design IC by our hands to draw circuit. So we use high level and abstraction just like high level language in programing to design chips.
yes, function dont support timing definition,
but task support,
generally they both can be sythesized if the have no timing definition and un-synthesible syntax.