Differences between functions and Procedures in VHDL?

Answers were Sorted based on User's Feedback



Differences between functions and Procedures in VHDL?..

Answer / 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

Differences between functions and Procedures in VHDL?..

Answer / vlsiengr

rocedures return many values while function can return only one.

Is This Answer Correct ?    48 Yes 8 No

Differences between functions and Procedures in VHDL?..

Answer / amar

functions are the one which conatiin some algorithm and
execute in zero simulation time where as procedures may
consume some simulation time when its getting executed

you can compare with verilog task and functions as well

Is This Answer Correct ?    35 Yes 14 No

Differences between functions and Procedures in VHDL?..

Answer / vicky

Function return only one vale but procedure return many value...

Is This Answer Correct ?    1 Yes 1 No

Differences between functions and Procedures in VHDL?..

Answer / princehari

VHDL procedures and functions greatly increase the power and
utility of the language for specifying designs. While these
constructs are being used extensively for modeling, most
VHDL synthesis tools limit their synthesis to a single
implementation style such as treating them as a component.
The authors evaluate four techniques for the synthesis of
procedures/functions and discuss their relative merits and
demerits. They examine these implementation styles in the
light of VHDL signals and wait statement semantics. The
results of the various implementation styles are shown on
several examples

Is This Answer Correct ?    12 Yes 26 No

Post New Answer

More VLSI Interview Questions

Are you familiar with VHDL and/or Verilog?

1 Answers   Intel,


What was your role in the silicon evaluation or product ramp? What tools did you use?

0 Answers   Intel,


You have a driver that drives a long signal & connects to an input device. At the input device there is either overshoot, undershoot or signal threshold violations, what can be done to correct this problem?

4 Answers   Intel,


What happens if we increase the number of contacts or via from one metal layer to the next?

1 Answers   Infosys,


What is the critical path in a SRAM?

0 Answers  






Draw the Differential Sense Amplifier and explain its working. Any idea how to size this circuit? (Consider Channel Length Modulation)

0 Answers   Infosys,


What happens when the gate oxide is very thin?

3 Answers   Intel,


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

0 Answers   Intel,


Explain Cross section of a PMOS transistor?

0 Answers   Intel,


What are the different design techniques required to create a layout for digital circuits?

0 Answers  


What types of high speed CMOS circuits have you designed?

0 Answers   Intel,


Explain how logical gates are controlled by Boolean logic?

0 Answers  


Categories