std.textio.all procedure read

Discussion in 'VHDL' started by Zhane, Apr 25, 2009.

  1. Zhane

    Zhane Guest

    variable L: Line;
    variable Tim: time;
    variable Int: integer;
    variable cha: character;
    variable str : string(1 to 6);

    READLINE(F,L);
    READ(L, Tim);
    READ(L, Int);
    READ(L, cha);
    READ(L, Str);
    READ(L, Int);

    for the above code, what will i get if the input file, F has..
    100 NS 99 ABCDEF 27

    as the input stimuli?
     
    Zhane, Apr 25, 2009
    #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. Magne Munkejord
    Replies:
    1
    Views:
    3,670
    Magne Munkejord
    Aug 23, 2006
  2. Nicolas Matringe

    std.textio, readline and memory deallocation

    Nicolas Matringe, Sep 1, 2006, in forum: VHDL
    Replies:
    9
    Views:
    2,104
    Paul Uiterlinden
    Sep 4, 2006
  3. westkite
    Replies:
    1
    Views:
    826
    scottcarl
    Nov 5, 2007
  4. Replies:
    13
    Views:
    1,068
  5. James Unterburger

    std.textio.read strange behaviour?!

    James Unterburger, Jun 26, 2008, in forum: VHDL
    Replies:
    3
    Views:
    530
    James Unterburger
    Jun 26, 2008
Loading...

Share This Page