Microblaze Functions (Xilinx Specific)

Apr 17, 2005 2 Replies

While programming using Microblaze, I used a scanf function to read data from an input port. But I get a compilation error saying that the local memory is full.



As an alterrnative to using printf, there is a xil_prinf function available. Is tere a similar function available as an alternative to scanf? Where will I get a list of all such Xilinx Specific Functions for programming Microblaze?



Thanks, John



print(), putnum(), and xil_printf() are the only three I am aware of.

The list is in the documentation where you'd expect it to be:

formatting link
(page 22)

Paul

snipped-for-privacy@gmail.com wrote:

Maybe try iscanf, which is an integer only version of scanf.

Cheers, JonB

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required