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. 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. Peter Jansson
    Replies:
    5
    Views:
    6,925
    Ivan Vecerina
    Mar 17, 2005
  2. Magne Munkejord
    Replies:
    1
    Views:
    4,407
    Magne Munkejord
    Aug 23, 2006
  3. Nicolas Matringe

    std.textio, readline and memory deallocation

    Nicolas Matringe, Sep 1, 2006, in forum: VHDL
    Replies:
    9
    Views:
    2,929
    Paul Uiterlinden
    Sep 4, 2006
  4. Vinu
    Replies:
    4
    Views:
    525
    Jim Langston
    Jul 7, 2005
  5. Vinu
    Replies:
    0
    Views:
    479
  6. westkite
    Replies:
    1
    Views:
    952
    scottcarl
    Nov 5, 2007
  7. Replies:
    13
    Views:
    1,330
  8. James Unterburger

    std.textio.read strange behaviour?!

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