Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
17268 Discussions

read data from file for implementation

Altera_Forum
Honored Contributor II
1,328 Views

peace ! requesting some help with my vhdl code! 

I'm writing code for image processing, what I nead is read  

data(integer) from file (txt,xml or dat) to implemente the code in the board, the file is generated from matlab  

Q1- what type of file should I use  

Q2- does the txt file solve the problem( for simulation it's ok but the question is for the implementation)  

Q3- could you advice me for some books or links  

Any help would be greatly appreciated and thanks for your time!....peace
0 Kudos
3 Replies
Altera_Forum
Honored Contributor II
575 Views

 

--- Quote Start ---  

peace ! requesting some help with my vhdl code! 

I'm writing code for image processing, what I nead is read  

data(integer) from file (txt,xml or dat) to implemente the code in the board, the file is generated from matlab  

Q1- what type of file should I use  

Q2- does the txt file solve the problem( for simulation it's ok but the question is for the implementation)  

Q3- could you advice me for some books or links  

Any help would be greatly appreciated and thanks for your time!....peace 

--- Quote End ---  

 

 

one way is to have a ram initialised by your mif data from file. You can update the file if your ram supports real time editing.
0 Kudos
Altera_Forum
Honored Contributor II
575 Views

 

--- Quote Start ---  

 

could you advice me for some books or links  

 

--- Quote End ---  

 

This DSP tutorial has VHDL code and Tcl scripts for accessing hardware via JTAG, including uploading and downloading RAM via JTAG. 

 

http://www.ovro.caltech.edu/~dwh/correlator/pdf/esc-104paper_hawkins.pdf 

http://www.ovro.caltech.edu/~dwh/correlator/pdf/esc-104code_hawkins.zip 

 

Cheers, 

Dave
0 Kudos
Altera_Forum
Honored Contributor II
575 Views

akay! thatks a lot

0 Kudos
Reply