Procedures-functions Vs Processes?

Discussion in 'VHDL' started by mreister, Sep 11, 2008.

  1. mreister

    mreister

    Joined:
    Aug 19, 2008
    Messages:
    10
    I am still having difficulty understanding how functions-procedures are executed in VHDL. What I don’t understand is how long it takes them to execute. Do they execute almost instantly? Meaning will they execute and finish their job between clock cycles?

    If this is so are they must be implemented by asynchronous logic right? And if so aren’t their execution times limited by the propagation delay in they devices used? If this is so how will we know that the function will return in the time we expected?

    Can someone please help me out understanding this?

    Thank you.
     
    mreister, Sep 11, 2008
    #1
    1. Advertising

  2. mreister

    jeppe

    Joined:
    Mar 10, 2008
    Messages:
    348
    Location:
    Denmark
    Well some functions actually only to please the strong typing of VHDL - like for instance conv_integer.
    About the execution time must you understand that a Hardware Desciption Language like VHDL will be used to Design a curcuit of your needs - once the translation (synthesize) done will the source code be "of no use" and take up no time whatever. The circuit however will have some delays due to the gates etc - but a procedure will at most be some kind combinatial "cloud"

    Search for Evita VHDL book from Aldec - could give you some pretty good ideas of whats "inside" VHDL

    Jeppe
     
    jeppe, Sep 12, 2008
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Seb
    Replies:
    12
    Views:
    837
    Mike Treseler
    Mar 17, 2005
  2. .Net Sports
    Replies:
    3
    Views:
    626
    Robbe Morris [C# MVP]
    May 12, 2005
  3. Øyvind Isaksen

    Making functions and procedures in ASP.NET

    Øyvind Isaksen, Feb 14, 2006, in forum: ASP .Net
    Replies:
    2
    Views:
    677
    Øyvind Isaksen
    Feb 14, 2006
  4. Jeff Rodriguez
    Replies:
    23
    Views:
    1,210
    David Schwartz
    Dec 9, 2003
  5. Marc Heiler
    Replies:
    1
    Views:
    192
    Robert Klemme
    May 24, 2009
Loading...

Share This Page