cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
mii-chan
Visitor
Visitor
11,388 Views
Registered: ‎07-01-2008

Where is xil_printf function for microblaze ?

Hi,

I'm looking for the xil_printf function for microblaze spartan cpu (with SDK 9.2.01) in standalane 1.00.a (because I want modify it for my application).

Where is the file xil_printf.c ?

 

Thanks

0 Kudos
4 Replies
Explorer
Explorer
11,350 Views
Registered: ‎07-08-2008

Hi,

 

I am not sure about microblaze but  under ppc you can find them here:

$EDK_PROJECT / ppc405_0 / libsrc / standalone* / xil_printf.c

 

ppc405_0 stands for $cpu$ver_$instance - so in your case you should have a look on something like mb*_0 for single cpu.

 

Greetings, Mariusz. 

--
Mariusz Grad.
0 Kudos
s1130014
Visitor
Visitor
7,066 Views
Registered: ‎06-04-2010

Hi,

 

I can find xil_printf.c in the directory for PPC but I cannot find xil_printf.c, too.

I use SDK 12.1 in ISE12.1 system edition.

 

And, character corruption is happened in terminal.

 

If you solved the problem already, please teach me the solution.

 

0 Kudos
c1engr
Participant
Participant
4,004 Views
Registered: ‎11-03-2008

Has anyone found the location of this function yet?

0 Kudos
payamfoug1
Visitor
Visitor
176 Views
Registered: ‎03-16-2021

It is a very old post, but I still looking for a proper answer to this question if anybody can help me.

It is just a curiosity question. As xil_printf() function works without any problem. However, I prefer to understand how it works in SDK14.7. and asking if somebody can shed a little bit of light on it. There is a xil_printf.c implementations for all platform folders, but no file for microblaze. As there is a xil_printf.h header file, where the compiler find and compile the function implementation? Is it using one of other .c files on other platforms folders? If yes, which one, and how we can trace properly such things.

 

0 Kudos