cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
squaringcircle
Adventurer
Adventurer
488 Views
Registered: ‎12-19-2018

Microblaze read / write to axi stream

Jump to solution

Hello community,

 

I'm using Vivado 2020.2 & Vitis 2020.2.

I've implemented a Microblaze with 2 axi stream interfaces and a debug uart output.

The debug uart output is working as expected in simulation and hardware.

 

What I'm looking for is a way how to write & read from and to the axi stream interfaces. In the past I think I've been using putd and getd functions, but i could not find relevant examples or manuals for Vitis.

Several threads in the forum are referring to the microblae reference manual, but it does not explain how to get access to these functions in vitis.

 

Could anyone please point me to manuals, examples, etc. on how to read and write from and to axi stream with microblaze using vitis.

 

many thanks!

0 Kudos
1 Solution

Accepted Solutions
squaringcircle
Adventurer
Adventurer
384 Views
Registered: ‎12-19-2018

Just in case somebody else is looking for this:

 

The solution is to use the functions from "fsl.h" in Vitis.

View solution in original post

0 Kudos
3 Replies
watari
Professor
Professor
481 Views
Registered: ‎06-16-2013

Hi @squaringcircle 

 

> What I'm looking for is a way how to write & read from and to the axi stream interfaces. In the past I think I've been using putd and getd functions, but i could not find relevant examples or manuals for Vitis.

> Several threads in the forum are referring to the microblae reference manual, but it does not explain how to get access to these functions in vitis.

 

What do you mean "how to write & read from and to the axi4 stream interfaces" ?

Do you want to find or create proper instruction for axi4stream on MicroBlaze like Intel Nios ?

If so, this answer is NO.

 

However, you might be able to find proper solution, if you explain more details.

 

Best regards,

squaringcircle
Adventurer
Adventurer
471 Views
Registered: ‎12-19-2018

Hi @watari ,

 

Thanks for your quick response, much appreciated.

Let me focus on a particular example. Attached you can find the block digaram of my microblaze entity. It has 2 axi stream inputs.

What I want to do is, I want to read a single sample from one of the stream interfaces in C.

Ideally, I want to transfer that sample over the UART to an external console.

 

I'm not familiar with Intel Nios.

 

Please let me know if my explanation is not clear enough.

 

Many thanks!

mb_block.PNG
stream_settings.PNG
0 Kudos
squaringcircle
Adventurer
Adventurer
385 Views
Registered: ‎12-19-2018

Just in case somebody else is looking for this:

 

The solution is to use the functions from "fsl.h" in Vitis.

View solution in original post

0 Kudos