Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
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.
21615 Discussions

something about synthesis to FPGA

Altera_Forum
Honored Contributor II
1,023 Views

I have written a SDRAM controller for connect the FPGA and SDRAM, my FPGA is openMSP430 core. I want to put the test program hex fire in the SDRAM, how can I let the openMSP430 core know to read the hex fire in the SDRAM? read the instruction and execute it. What should I do? Thank you for reading this and help.

0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
369 Views

I suppose your project is on an Altera FPGA and it contains an openMSP430 core. I do not know how to set your microcontroller to boot from a particular address, it may boot from a fixed address or it may be configured at compile time (of the verilog); please refer to the opencores.org site and let us know, it may be useful to others. 

You should instantiate some internal FPGA memory with the Megawizard tool (for example) and configure it to use the hex file. Then compile the fpga project placing the hex file in the project directory. You may need to write some code to relocate the content of the hex file to the SDRAM: it may be easier to write some C code to do it, maybe you can find some VHDL/verilog code to initialise an external memory using the internal one (or write your own). 

 

Hope it helps.
0 Kudos
Reply