- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hi guys,
I am now doing the project with the FPGA . I need to have the input which is format as PCM 8bits and 200khz. That input will be created by the music mp3( 44.1khz and 16 bits) . So i use the Cool Edit to transfer the file mp3 music ( around 0.001s) to the PCM format 8bits and 200khz. So now i have to transfer that file to the FPGA board. But i did not know how to transfer the file from computer to the FPGA does anyone knows about it or have the document which is good for me to read? Thank u guys, Regards, ClarkLink Copied
9 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Clark,
the best solution depends on the amount of data and wich kind of memory it is destinated for. To write embedded FPGA RAM, in-system-memory-editor through JTAG is probably the easiest way. Also external memory could be accessed via a virtual JTAG interface. Other interfaces could be used depending on the target systems hardware equipment: Printer port, RS232, SPI, I2C... Regards, Frank- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Can i ask u how to write embedded FPGA RAM ?
and i also hear about the audio codec (WM8731L), does anyone know how to connect it ? i read the manual , they just introduce the WM8731.Actually i did not understand so much.:o regards, Clark- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Clark,
the altsyncram Megafunction can be instantiated with the ENABLE_RUNTIME_MOD option. It allows to access the RAM with the Quartus "In-System Memory Content Editor", e. g. up/downloading data from/to a file. See the Quartus software manual for details. Regards, Frank- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
thank Frank,
Now i am trying to use it . Btw, I am reading the manual of the DEI , they introduce about the DE control panel . It teach me how to use the control panel to control the FPGA . From them i knew how to write into the flash memory. From there , i have some questions , and also trying to find information for it , but i just list out here so if anyone know how to answer , shoot it for me. I use the Cyclone II , EP2C20F484C7N 1) The data stored in the flash memory , when i turn off the the FPGA board or program again for the FPGA( but not tough the flash memory), will the data in the flash memory lost ? 2) how to retrive the data from the flash memory 3) I only know how to write in the flash memory by using the control panel . But when i want to write in the flash as well as run my program in FPGA, how to do ? ( using DE control panel ,u need to program for FPGA) If i can find the answer, i will post here also . Thank a lot Regards, Clark- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
i can manage to answer the 1st question , the data will be in the flash memory even u turn off the board.
The thing here is i dun know how to retrieve the data from the flash memory ( this is one of the on chip memory Cyclone 2 DE 1 ) No one knew how to do it ??- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Clark,
--- Quote Start --- the data will be in the flash memory even u turn off the board --- Quote End --- yes, exactly, that's the nature of flash ROM as a nonvolatile memory in contrast to RAM (without a backup battery). I've learned in the meantime, that you're using a Terasic DE1 board. I don't have one, but I know from the DE1 documentation, that it comes with a lot of example projects, some also using the flash memory, e. g. a flash music player. I guess, these projects show in detail how to "retrieve" flash data from FPGA side. From the PC side, the Control Panel can load and save data from/to the flash memory in a hexadecimal format. With these tools, anything should be possible. Best regards, Frank- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
i already solved my problem about the memory(SRAM and Flash) . Basically it it just about assign the pin and some normal VHDL code about reading and writing memory.
Thank Frank for helping me . Regards,- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
STart with the CII_Starter_Default and as you learn the language, just chop off the parts you know you don't need, thats how I got started.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Clark,
I need your help. How do you assign the pins for the SRAM and Flash in Quartus?? Thanks.
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page