Problems with dynamic VHDL file IO

Discussion in 'VHDL' started by delightfulbaker, Sep 25, 2011.

  1. delightfulbaker

    delightfulbaker

    Joined:
    Jul 27, 2011
    Messages:
    3
    I'm having trouble with dynamic VHDL file IO. I need to open multiple files within one testbench and the file names are not available until the testbench is running. This means that I cannot statically set the file names as strings in the testbench.

    I can currently get input and output files to open for a single text file but not for multiple stimulus files. Any ideas?

    Within the test bench i generate a variable with the name of the file and the path. However, im struggling to open the file with the variable once i have updated it.

    SOS
    delightfulbaker, Sep 25, 2011
    #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. walala
    Replies:
    3
    Views:
    4,783
    walala
    Sep 18, 2003
  2. albert.neu@gmail.com
    Replies:
    2
    Views:
    8,622
    Jim Lewis
    Mar 21, 2006
  3. dude

    VHDL 2002 vs VHDL 1993

    dude, Mar 23, 2006, in forum: VHDL
    Replies:
    1
    Views:
    1,255
    Nicolas Matringe
    Mar 23, 2006
  4. afd
    Replies:
    1
    Views:
    8,258
    Colin Paul Gloster
    Mar 23, 2007
  5. sigwalt@gmx.net
    Replies:
    2
    Views:
    1,451
Loading...

Share This Page