PYNQ MicroBlaze

I am not sure I am reading this correctly:
Can PYNQ run on a standalone MicroBlaze wo ZYNQ ARM?
This means that can PYNQ API run on Kintex-7 MicroBlaze with Petalinux?

I think the answer is no.

pynq needs the entire operating system to work. Microblaze inside the FPGA fabric is just a n-bit microcontroller. It is bare metal, we cannot load pynq onto it.

2 Likes

Abd,

So the question is a bit interesting that if I understand correctly.
Petalnux do work on standalone Micro Blaze ?

1 Like

Hello all,

I am still not sure if this is even possible?
Can PYNQ support standalone MicroBlaze Soft-Core.
Or cropped Petalinux to enable Jupyter-Notebook on All 7-series FPGA of Xilinx.
This is really enhance a huge break-through on control.
As old-days the only way is to control via PCIE/SFP+ (high-speed) GMII (medium-speed) or Serial (low-speed).

No, PYNQ doesn’t run on a standalone MicroBlaze.
PYNQ relies on a full desktop OS and benefits from the wider ecosystem of Linux and Python packages that are available and can be run on ARM, including Jupyter Notebook.

Cathal

1 Like

Cath do you mean without the ARM and MircoBlaze + PetaLinux have no chance to support such Jupyter NoteBook control?
This means all the Xilinx 7 series unless it is including any kind of ARM CPU PYNQ will not able to run or there are no plans on such supporting?

Cath do you mean without the ARM and MircoBlaze + PetaLinux have no chance to support such Jupyter NoteBook control?

I don’t know what this means.

This means all the Xilinx 7 series unless it is including any kind of ARM CPU PYNQ will not able to run or there are no plans on such supporting?

We are not planning to support PYNQ on MicroBlaze.

Cathal

Cath

Do you mention the PYNQ rely on the full OS.
The OS require more explain on what do you mean full os.
MicroBlaze do support linux OS as PetaLinux have all necessary build tool.
So are you tell us that MicroBlaze itself have no chance to run python as well as Jupyter Netbook as well?
What I understand that MicroBlaze with Linux setup do have network driver and all linux basic functions.

So are you tell us that MicroBlaze itself have no chance to run python as well as Jupyter Netbook as well?

No, I’m not saying there is no chance that this is possible. I said that we are not planning to port PYNQ on MicroBlaze.

MicroBlaze and PetaLinux are intended for embedded systems and have different resource requirements or goals. A full desktop Linux (e.g. Ubuntu) will typically require more hardware resources (CPU, RAM etc.). PYNQ takes advantage of the various components and software packages available for a desktop OS. I expect you would run into lots of problems trying to install the required software stack to run PYNQ as few packages will be available for the MicroBlaze architecture.

Even if all the software can be built, a MicroBlaze is a little over 1 DMIPS/MHz depending on the config. ARM A9 is 2.5 DMIPS/MHz, so a dual-core on a Zynq is 5 DMIPS/MHz, typically running >600MHz. I think you can see MicroBlaze performance will be significantly lower.

It would be more realistic to get something like micropython to run on a MicroBlaze with (PYNQ) PL APIs. This would not be like the full PYNQ framework. We did some early work on running MicroPython on the ARM processor (without Jupyter). It was clear that the full version of Python on a desktop OS with the full version of Python (which the ARM was capable or running) offered a much better user experience.

Regards,
Cathal

OK Cath I see your point here.
So it is not about PYNQ can/cannot implemented to MicroBlaze is about the performance case.

Thank you

Before you closing this topic just clear out are there any example or existing package about MicroPython on MicroBlaze?
I had experience on ESP STM MicroPython but not MicroBlaze.