conv_integer

Discussion in 'VHDL' started by geeta k, Apr 25, 2013.

  1. geeta k

    geeta k

    Joined:
    Mar 18, 2013
    Messages:
    1
    Likes Received:
    0
    i had aproblem in conv_integer operation
    can anyone please tell me what does this statement mean

    DEPTH_INT<=conv_integer(DEPTH);
    where here depth :in std_logic_vector (31 downto o)
    please tell me the operation of CONV_INTEGER
    if suppose the value of depth is 6 .then what will be the value assigned to DEPTH_INT.
    also please tell me example with some signed value.
    please tell me soon

    thank you
     
    Last edited: Apr 25, 2013
    geeta k, Apr 25, 2013
    #1
    1. Advertisements

  2. geeta k

    rpaley000@gmail.com

    Joined:
    Jul 6, 2011
    Messages:
    3
    Likes Received:
    0
    Conversion package

    i recommend using the IEEE numeric_std instead of this non-IEEE package
     
    rpaley000@gmail.com, Apr 25, 2013
    #2
    1. Advertisements

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.