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

What are the steps involved in designing an optimal pad ring?

724


Explain the Working of a 2-stage OPAMP?

718


Explain Cross section of a PMOS transistor?

752


Draw a 6-T SRAM Cell and explain the Read and Write operations

805


What are the steps required to solve setup and hold violations in vlsi?

632






Explain what is multiplexer?

634


For a single computer processor computer system, what is the purpose of a processor cache and describe its operation?

1868


Draw the Layout of an Inverter?

2054


Mention what are three regions of operation of mosfet and how are they used?

593


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

800


Explain why is the number of gate inputs to cmos gates usually limited to four?

1026


Explain what is the use of defpararm?

667


what is Slack?

712


What are the different gates where boolean logic are applicable?

600


What are the steps involved in preventing the metastability?

655