Test your progress with this VHDL quiz after completing part 4 of the Basic VHDL Tutorial series!

Share the quiz to show your results !


Just tell us who you are to view your results !

Basic VHDL quiz - part 4 I got %%score%% of %%total%% right
0%

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

4 thoughts on “Basic VHDL Quiz – part 4

  1. First of all, thank you so very much!
    These are by far the most comprehensible tutorials I have come across like ever!
    Brilliant work.

    So here my two cents out of gratitude:

    Basic VHDL Quiz – part 4
    Which statement is not true?
    Answer 3 : The return statement cannot be omitted.
    -> Correct

    So the return statement CAN be omitted???

    “Unlike in most other programming languages, the return keyword is mandatory in functions in VHDL.”

    Confused by double negation. Me or you 😉

    Posted on January 6, 2019 at 5:42 pm
    1. Good catch! I’ve changed the answer now. I was trying to make you think, but in the process I confused myself too 🙂

      Posted on January 6, 2019 at 6:30 pm
  2. “The return-keyword cannot be used in a procedure”. I believe that this is incorrect, e.g.
    http://vhdl.renerta.com/source/vhd00060.htm

    It is true, of course, that you cannot return a value with it, that’s the only (?) difference between procedures and functions. But, as in other languages, you can use “return” as control flow statement to “force an exit”.

    Posted on March 15, 2019 at 2:15 pm
    1. You are right! I missed the possibility of using return statements in procedures without returning a value. According to the Renata link you posted, functions must return a value, while procedures can have return statements, but then without a return value.

      I am changing this question.

      Posted on March 15, 2019 at 5:56 pm