convert std_logic_vector_16 to std_logic_vector_32

Discussion in 'VHDL' started by zty, Feb 23, 2007.

  1. zty

    zty

    Joined:
    Oct 2, 2006
    Messages:
    4
    hello

    now i get to convert
    std_logic_vector(15 downto 0) to std_logic_vector(31 downto 0)

    i have the stupid way is:
    convert std_logic_vector_16 to an integer, and then convert this integer to
    std_logic_vector_32.

    is there any better way or existen function to do this job?

    thinkyou

    zty....
    .........
     
    zty, Feb 23, 2007
    #1
    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. Andreas Klemt
    Replies:
    1
    Views:
    400
    Karl Seguin
    Jul 23, 2003
  2. Jaap
    Replies:
    4
    Views:
    717
    John O'Conner
    Jul 10, 2006
  3. Klaus Neuner
    Replies:
    7
    Views:
    498
    Klaus Neuner
    Jul 26, 2004
  4. sck10
    Replies:
    4
    Views:
    16,015
    daniel
    Sep 3, 2006
  5. davidxiongcn@gmail.com
    Replies:
    5
    Views:
    1,936
    Wesley Hall
    Nov 4, 2006
Loading...

Share This Page