DE-25 FPGA Dev Kit Additional Setup Part 3 (The Road to Zephyr Agilex™ 5 Simics Virtual Platform)

Please refer to out previous article Part 2 of the Additional Setup for the DE-25 before preceeding with the next steps. The goal of this article is to build a Zephyr RTOS application that will run in the Agilex™ 5 Simics Virtual Platform relevant to the DE-25 FPGA Dev Kit

image

Every Zephyr RTOS application has these key components in the same executable: the Zephyr Kernel, the Device Drivers, the Libraries and the Application Code. Here we will build the classical problem in computer science called the dining philosophers.

DigiKeyCoffeeCup@M1:/agilex5_zgsrd$ source venv/bin/activate
(venv) DigiKeyCoffeeCup@M1:/agilex5_zgsrd$ cd zephyrproject/zephyr

At this point we are ready to build the Zephyr RTOS dining philosophers demo applcation for the Agilex™ 5 Simics Virtual Platform as follows,

(venv) DigiKeyCoffeeCup@M1:/agilex5_zgsrd/zephyrproject/zephyr/west build -b intel_socfpga_agilex5_socdk samples/philosophers/ -d agilex5 --pristine

....
....

....

112/113] Linking C executable zephyr/zephyr.elf
Memory region         Used Size  Region Size  %age Used
           FLASH:          0 GB         0 GB
             RAM:      180228 B         8 MB      2.15%
        IDT_LIST:          0 GB        32 KB      0.00%

...
...oject/zephyr/agilex5/zephyr/zephyr.elf

At this point we have successfully built the dining philosophers Zephyr RTOS application for the Agilex™ 5 Simics Virtual Platform. In our next article we will continue with this Agilex™ 5 Simics Virtual Platform that will run the dining philosophers in Zephyr RTOS please stay tuned. The DE-25 FPGA Dev Kit is a powerful platform featuring an HPS/FPGA Agilex 5 (available as D-Series and E-Series depending on the case) capable of implementing Tensor AI slices,

that go beyond what traditional/classical old school DSP slices implemented in the past,

and it is available at DigiKey.

Have a wonderful day!

This article is available in spanish here.

Este articulo esta disponible en español aqui.

1 Like