File read

Discussion in 'VHDL' started by pan, Aug 2, 2006.

  1. pan

    pan

    Joined:
    Aug 2, 2006
    Messages:
    1
    Hello all,

    I have a problem with file reading in VHDL. I have a file with a number of lines each line consisting of the simultion time and the value of a signal separated by a space. I am relatively new to VHDL and do not know how I can split the line and read the time into and array and the signal value into another array for further processing. I may later have more signal values like in one line have more than 2 values, simulation time, and values of one or more signal values corresponding to the time. Is there any way I can split the line by space and store it into an array as I am reading it??

    I would appreciate any information regarding this.

    Thank You,

    Pan.
     
    pan, Aug 2, 2006
    #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. keithb
    Replies:
    2
    Views:
    8,051
    keithb
    Jun 7, 2006
  2. py
    Replies:
    0
    Views:
    685
  3. tyeung168@gmail.com
    Replies:
    2
    Views:
    647
    Thomas Matthews
    Feb 27, 2007
  4. Sreejith K
    Replies:
    24
    Views:
    1,067
    Sreejith K
    Mar 24, 2009
  5. Alex Dowad
    Replies:
    4
    Views:
    300
    Michel Demazure
    May 1, 2010
Loading...

Share This Page