Re: Program size - Microblaze



Yannick wrote:
I want to know the average size of the programs for microblaze
(Xilkernel, Uart managment, SRAM managment, Ethernet with Lwip).
I think that the size of my program is enormous. Even if i choose
optimization in compiler option, the program size is too big.

My Progam size : 900 ko (My Code, Xilkernel without Lwip)

Size of executable.elf


Microblaze
OPB
| - SRAM Controller
| - Ethernet Lite
| - UART Lite
| - UART 16550
| - Timer
| - Interrupt controller
| - IPIF with 3 interrupt

Thank you.
Best regards.

On MicroBlaze, a lot of the standard library functions can swell the executable massively. For example, don't use printf() if you can avoid it - use the slimline xil_printf() instead.

Phil

--
Philip Potter pgp <at> doc.ic.ac.uk
.



Relevant Pages

  • Program size - Microblaze
    ... (Xilkernel, Uart managment, SRAM managment, Ethernet with Lwip). ... 900 ko (My Code, Xilkernel without Lwip) ...
    (comp.arch.embedded)
  • Re: Does UART is inbuild in FPGA
    ... serial interface on an FPGA. ... You can also connect a UART externally, of course, although if you don't ... with Ethernet, so if you really want to have asynchronous serial coming ...
    (comp.arch.embedded)
  • Re: Does UART is inbuild in FPGA
    ... sending information from FPGA to Ethernet through UART ... If you want to go to Ethernet why go through a UART? ...
    (comp.arch.embedded)