Convert text file to std_logic_vector for testbench

Discussion in 'VHDL' started by Tomeriko, Jan 3, 2010.

  1. Tomeriko

    Tomeriko

    Joined:
    Jan 3, 2010
    Messages:
    1
    Likes Received:
    0
    Hi all,

    I would like to convet a text file (that contain Hex values) into an array and use it as an input at testbench.

    So far I succeed reading the file and writing it to the output window.

    My question is, when im reading the text file, how can i save it i manner that i can use it for testbench?

    thank's
    Tomeriko
     
    Tomeriko, Jan 3, 2010
    #1
    1. Advertisements

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. khiltrop@gesytec.de

    convert std_logic_vector to unsigned ???

    khiltrop@gesytec.de, Feb 18, 2005, in forum: VHDL
    Replies:
    2
    Views:
    41,769
    Alain
    Feb 18, 2005
  2. eNo
    Replies:
    2
    Views:
    20,967
    Hubble
    Aug 9, 2005
  3. ashwin
    Replies:
    4
    Views:
    90,250
    Andy Peters
    Nov 28, 2005
  4. jing
    Replies:
    1
    Views:
    4,770
    Mike Treseler
    May 17, 2006
  5. Sudhir
    Replies:
    2
    Views:
    1,271
    David Bishop
    Mar 10, 2007
  6. Thomas Rouam
    Replies:
    6
    Views:
    1,502
  7. Stef
    Replies:
    7
    Views:
    3,471
    rickman
    May 18, 2008
  8. rupali.wadke@gmail.com

    Re: Convert money amount to text string - convert.pl

    rupali.wadke@gmail.com, Aug 30, 2013, in forum: Perl Misc
    Replies:
    2
    Views:
    359
    John Bokma
    Aug 30, 2013
Loading...