EmbDev.net

Forum: FPGA, VHDL & Verilog File operations


Author: Dhiv (Guest)
Posted on:

Rate this post
0 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

Author: Lothar Miller (lkmiller) (Moderator)
Posted on:

Rate this post
0 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?

Reply

Entering an e-mail address is optional. If you want to receive reply notifications by e-mail, please log in.

Rules — please read before posting

  • Post long source code as attachment, not in the text
  • Posting advertisements is forbidden.

Formatting options

  • [c]C code[/c]
  • [avrasm]AVR assembler code[/avrasm]
  • [vhdl]VHDL code[/vhdl]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]




Bild automatisch verkleinern, falls nötig
Note: the original post is older than 6 months. Please don't ask any new questions in this thread, but start a new one.