Differences between functions and Procedures in VHDL?

Answer Posted / manav rathi

function:
1:executes in zero stimulation time.
2:usually return a single value.
3:parameters of mode IN.
4:do not have wait statement.
5:function call state always concurrent.
procedure:
1:may or may not execute in zero stimulation time depending
upon whether it has wait statement or not.
2:may or may not retun a single value.
3:parameters of in,out or inout.
4:has wait statement.
5:procedure call statement may be cocurrent or sequential.

Is This Answer Correct ?    184 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the Charge Sharing problem while sampling data from a Bus?

4304


Draw the timing diagram for a SRAM Read. What happens if we delay the enabling of Clock signal?

772


What does it mean “the channel is pinched off”?

995


Process technology? What package was used and how did you model the package/system? What parasitic effects were considered?

1886


Explain what is the depletion region?

727






Explain the operation of a 6T-SRAM cell?

4165


Explain how binary number can give a signal or convert into a digital signal?

765


Write a VLSI program that implements a toll booth controller?

3604


If not into production, how far did you follow the design and why did not you see it into production?

1773


What is Latch Up? Explain Latch Up with cross section of a CMOS Inverter. How do you avoid Latch Up?

891


Basic Stuff related to Perl?

2496


How binary number can give a signal or convert into a digital signal?

783


You have three adjacent parallel metal lines. Two out of phase signals pass through the outer two metal lines. Draw the waveforms in the centre metal line due to interference. Now, draw the signals if the signals in outer metal lines are in phase with each other

1134


Describe a finite state machine that will detect three consecutive coin tosses (of one coin) that results in heads.

2445


In the design of a large inverter, why do we prefer to connect small transistors in parallel (thus increasing effective width) rather than lay out one transistor with large width?

794