+ Post New Thread
Results 1 to 4 of 4

Thread: how to read file by vhdl?

  1. #1
    Junior Member level 2
    Points: 1,027, Level: 7

    Join Date
    Nov 2007
    Posts
    24
    Helped
    0 / 0
    Points
    1,027
    Level
    7

    vhdl read file

    now i have a file (this may be xx.text ,xx.data or xx.eti)! i want to get the data in the file and write sth into the file! who have experience about this or who have data about this? pls tell or leave message. i'll connect to you!
    thanks!

    •   Alt 

      advertising

        
       

  2. #2
    Member level 3
    Points: 1,352, Level: 8

    Join Date
    Nov 2007
    Posts
    62
    Helped
    6 / 6
    Points
    1,352
    Level
    8

    vhdl read

    Yes. You can read a file from VHDL through textio package.
    You can read and write data from external files. The below links provide the basic sample coding for read/write from vhdl...
    http://www.ee.sunysb.edu/~jochoa/vhd...e_tutorial.htm
    http://www.csee.umbc.edu/help/VHDL/samples/file_io.vhdl



    •   Alt 

      advertising

        
       

  3. #3
    Junior Member level 2
    Points: 1,027, Level: 7

    Join Date
    Nov 2007
    Posts
    24
    Helped
    0 / 0
    Points
    1,027
    Level
    7

    read vhdl

    ok! i got it !
    thanks!



    •   Alt 

      advertising

        
       

  4. #4
    Junior Member level 1
    Points: 139, Level: 1

    Join Date
    Sep 2012
    Posts
    19
    Helped
    0 / 0
    Points
    139
    Level
    1

    Re: how to read file by vhdl?

    it provide the test bench. i want to know about the code.
    help me out



+ Post New Thread