Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Using XILINX XPS with Microblaze - quickest way to program the fpga

I'm designing a micro controller based around the microblaze microprocessor on a xilinx fpga. Most of the hardware setup is done. All I'm updating at this point is the c code to be run on the microblaze. Is there a way in XPS to not have to rebuild the entire project, just the c code portion. It takes around 20 minutes to rebuild the entire project - would be nice if i didn't have to. Thanks.

like image 846
giroy Avatar asked Sep 04 '09 18:09

giroy


People also ask

What is XPS in Xilinx?

The XPS SYSMON ADC IP core is a 32-bit slave peripheral that connects to the PLB (Processor Local Bus) and provides the controller interface for the System Monitor (SYSMON) hard macro on the Virtex-5 and Virtex-6 family of FPGAs.

What is the use of MicroBlaze?

MICRO-BLAZE® is a liquid formulation of several microbial strains, surfactants and nutrients designed to digest organics and hydrocarbons in soil and water as well as control odors. 1. Application Method: Use normal spray equipment, fire or response equipment, eductor setups, water trucks, etc.

What is MicroBlaze soft processor?

MicroBlaze™ is Xilinx 32/64-bit RISC Harvard architecture soft processor core with a rich instruction set optimized for embedded applications.

What is MicroBlaze MCS?

MicroBlaze™ Micro Controller System (MCS) is a complete standalone processor system intended for controller applications. It is highly integrated and includes the MicroBlaze processor, local memory for program and data storage as well as a tightly coupled IO module implementing a standard set of peripherals.


3 Answers

Right click on the top-level C file. The option is there.

like image 86
Brian Carlton Avatar answered Oct 19 '22 23:10

Brian Carlton


+1 for asking a hardware programming question. SO needs more of these.

I'm fairly certain this has been done before, but you would have to build into your controller the ability to rewrite the ROM where the c program is stored. If you specifically tell the programmer where to put the program ROM, some devices may offer the capability to write to specific sections of dedicated memory without reconfiguring the entire fpga. I don't know if the virtex does this though.

like image 26
Joel Avatar answered Oct 19 '22 23:10

Joel


Once you've built the hardware system, you do not need to recompile it everytime. Now, just export the hardware to Xilinx SDK (it should be very familiar if you've used Eclipse). From the SDK, you can modify your C program and run it on the FPGA.

like image 43
lukehsiao Avatar answered Oct 19 '22 22:10

lukehsiao