Okay, I have created code and attached a vhdl component with it and it works. I tested it out on the dev board with IDE. I was able to run the program and debugged it to make sure all the variables are getting the right value. Now here is my question, how do I make it so the C code will be in the on-chip memory(pre-initializing a RAM). So when I boot up the stratix 2-130,1024 fpga, the C code will start up instantly. I tried using the flash programmer but it only gives me an option to burn the code onto an external ram. I wish we could place external memory onto our board but it is too late for it.
Also, 99.9% of the fpga(65% utilization) is VHDL code. How do I get both C code and VHDL(top level) code into the FPGA?
I currently have a Stratix 2 NIOS dev board.
any help will be greatly appreciated Patel