EmbDev.net

Forum: FPGA, VHDL & Verilog File operations


von Dhiv (Guest)


Rate this post
useful
not useful
Hi,

I was trying to implement $fopenr function in verilog using quartus 
software. But while compiling $fopen is not synthesizable. I need to 
perform a file read function to implement decoder. Kindly help !!
Thanks

von Lothar M. (Company: Titel) (lkmiller) (Moderator)


Rate this post
useful
not useful
Dhiv wrote:
> I need to perform a file read function to implement decoder.
That is a very, very demanding task:
you will have to implement a hardware interface to your media (hard 
disc, SD card, USB stick,...). Then you will have to implement the 
controller for that specific media. After that you will have to 
implement a controller for the file system. Then you will have to access 
the desired file, read its content, interpret it and transfer the values 
to your registers.
If you are a beginner, then you can easily say "happy new year" before 
finishing the work...

Let me ask you: why do you want to access a file in hardware?

Please log in before posting. Registration is free and takes only a minute.
Existing account
Do you have a Google/GoogleMail account? No registration required!
Log in with Google account
No account? Register here.