Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
17254 Discussions

read data from file for implementation

Altera_Forum
Honored Contributor II
1,293 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
540 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
540 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
540 Views

akay! thatks a lot

0 Kudos
Reply