Go Back   Velocity Reviews > Newsgroups > VHDL
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply

VHDL - How to read 10 values at a time from a text file out of 50 values in VHDL

 
Thread Tools Search this Thread
Old 03-11-2009, 06:10 AM   #1
Default How to read 10 values at a time from a text file out of 50 values in VHDL


Heya...

I have a text file which has 50 integers. All i want to do is access the first 10 values, add them up and then the next 10 values, add them up again and so on...finally i wil have 5 values that are the sums. I would like to know how i can access only a few values out of all from a text file in VHDL. I thought of 2 ways to do it:

1. Either i can directly read only 10 values at a time instead of the whole file till the end of file is reached..but i dunno how to do it..i need help witht the coding part

2. I can write all the 50 values in an array and then write loops to access the values.. I need help here too to write the values from the file into an array/memory of some sort....

Please Help me out here...


Cheers!!


shrutisunder
shrutisunder is offline   Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Cisco QOS MIB values required manjunatht Hardware 1 06-13-2008 02:34 PM
Values set by javascript are not reflected in serverside(.Net) rchimakurty Software 2 11-28-2007 10:07 AM
Checkbox values problem in gridview thanigaimani.thirumalai Software 0 11-09-2007 05:12 AM
Cisco QOS MIB values required manjunatht Software 0 09-11-2007 05:40 PM
How to make the form View save it's field values in Visual Stdio .NET asammoud Software 0 07-17-2007 10:57 AM




SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46