help in reading a large text file using verilog....

Discussion in 'VHDL' started by alangs, Jul 22, 2010.

  1. alangs

    alangs

    Joined:
    Jul 22, 2010
    Messages:
    2
    I am having a large text file which contains only the pixel values of an image.....here i can able to read the pixels using $readmemh system task..... but the prolem is memory......am using only 1000 words of memory as below
    reg [31:0] Mem [0:999];
    initial $readmemh("pixels.txt",Mem);
    By this i can get only 1000 pixles from the text file and i will give these pixels to the next module for furthur processing....then i have to read the next 1000 pixels from the text file and put it in the Mem....similarly i want all the pixels to be readed from the txt file with the Mem size as 1000 and give those to the next module for furthur processing......so how i can do this plz i will be very thank full to u...plz help me.....
     
    alangs, Jul 22, 2010
    #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. Darrel
    Replies:
    3
    Views:
    674
    Kevin Spencer
    Nov 11, 2004
  2. =?Utf-8?B?SHV0dHk=?=

    Reading large text files

    =?Utf-8?B?SHV0dHk=?=, Sep 24, 2005, in forum: ASP .Net
    Replies:
    1
    Views:
    720
    =?Utf-8?B?SHV0dHk=?=
    Sep 27, 2005
  3. Matthew Crema

    Reading a large number of text files into an array

    Matthew Crema, Apr 27, 2005, in forum: C Programming
    Replies:
    4
    Views:
    711
    Matthew Crema
    Apr 27, 2005
  4. xyz
    Replies:
    3
    Views:
    611
  5. friend.05@gmail.com

    median of large data set (from large file)

    friend.05@gmail.com, Apr 1, 2009, in forum: Perl Misc
    Replies:
    5
    Views:
    879
    Xho Jingleheimerschmidt
    Apr 2, 2009
Loading...

Share This Page