Loading data in text file to RAM

Status
Not open for further replies.

sudheer424

Newbie level 2
Joined
Sep 27, 2009
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
Guwahati
Activity points
1,293
I am working on a project related to ecg signal I have coded for an algorithm in vhdl .How should I store the data in a text file(.txt) into a RAM and then check the stored data after processing.Simply ,I want to write a data in text file to memory and read the data in the memory to txt file again?Is it posiible ?

Thanks in advance
 

Are you talking about putting data into RAM during synthesis, or is this testing on the fly, with the text file being read from a host PC?
 

thanks for ur replies

I am talking about putting data for synthesis
 

With VHDL it depends what brand you are using. Afaik, you can use the textio package to read a text file to initialise the contents of BRAMs for Xilinx FPGAs, but altera you need a mif file
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…