# altera-fpga/agilex5e-ed-gsrd architecture

> Architecture diagram of the GitHub repository altera-fpga/agilex5e-ed-gsrd, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-07). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/altera-fpga/agilex5e-ed-gsrd
- Repository: https://github.com/altera-fpga/agilex5e-ed-gsrd

## Overview

This repository provides Agilex 5 SoC FPGA reference designs across development kits and board variants. The documented system-integration workflow combines HPS configuration with FPGA fabric IP, boots through U-Boot to Linux, and runs sample applications. The sampled sources also show Nios V bridge tests and a FreeRTOS data-mover demo, including QSPI bitstream loading and transfer-task setup. Relationships for unsampled hardware and Linux subsystems are based on README statements; task implementation details are not inferred from filenames.

Main entry points: [`dk-a5e065ab32aea-enablement/datamover/software/freertos/datamover-app/multi-threaded/main.c`](https://github.com/altera-fpga/agilex5e-ed-gsrd/blob/main/dk-a5e065ab32aea-enablement/datamover/software/freertos/datamover-app/multi-threaded/main.c) (Data Mover Runtime), [`README.md`](https://github.com/altera-fpga/agilex5e-ed-gsrd/blob/main/README.md) (HPS-FPGA Design), [`dk-a5e065ab32aea-enablement/baseline-a55/niosv_fw/app/main.c`](https://github.com/altera-fpga/agilex5e-ed-gsrd/blob/main/dk-a5e065ab32aea-enablement/baseline-a55/niosv_fw/app/main.c) (Nios V Bridge Test), [`dk-a5e065ab32aea-enablement/baseline-a55/software/yocto_linux/meta-custom/recipes-apps/hello/files/hello.c`](https://github.com/altera-fpga/agilex5e-ed-gsrd/blob/main/dk-a5e065ab32aea-enablement/baseline-a55/software/yocto_linux/meta-custom/recipes-apps/hello/files/hello.c) (Hello Sample)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_design["Reference Design"]
  node_integrated_design["HPS-FPGA Design<br/>[README.md]"]
  node_fabric_ip["Fabric IP<br/>[README.md]"]
  node_boot_linux["Booted Linux<br/>[README.md]"]
end

subgraph group_firmware["Embedded Firmware"]
  node_nios_test["Nios V Bridge Test<br/>[main.c]"]
  node_f2sdram["F2SDRAM Bridge<br/>[main.c]"]
  node_f2h["F2H Bridge<br/>[main.c]"]
  node_freertos_hello["FreeRTOS Hello<br/>[main.c]"]
end

subgraph group_linux["Linux Samples"]
  node_linux_hello["Hello Sample<br/>[hello.c]"]
  node_gpio_interrupt["GPIO Interrupt<br/>[gpio_interrupt.c]"]
end

subgraph group_datamover["Data Mover Demo"]
  node_data_main["Data Mover Runtime<br/>[main.c]"]
  node_data_tasks["Transfer Tasks"]
  node_qos["QoS Generator<br/>[qos_generator.h]"]
end

node_user(("Design User"))
node_platform["Agilex 5 SoC"]
node_qspi[("QSPI Flash")]
node_fpga_sdm["FPGA SDM"]

node_user -->|"opens or modifies"| node_integrated_design
node_integrated_design -->|"targets"| node_platform
node_integrated_design -->|"integrates"| node_fabric_ip
node_integrated_design -->|"supports boot"| node_boot_linux
node_boot_linux -->|"runs sample"| node_linux_hello
node_boot_linux -->|"runs sample"| node_gpio_interrupt
node_nios_test -->|"tests bridge"| node_f2sdram
node_nios_test -->|"tests bridge"| node_f2h
node_data_main -->|"reads bitstream"| node_qspi
node_data_main -->|"loads bitstream"| node_fpga_sdm
node_data_main -->|"sets up tasks"| node_data_tasks
node_data_main -->|"references definitions"| node_qos

click node_integrated_design "https://github.com/altera-fpga/agilex5e-ed-gsrd/blob/main/README.md"
click node_fabric_ip "https://github.com/altera-fpga/agilex5e-ed-gsrd/blob/main/README.md"
click node_boot_linux "https://github.com/altera-fpga/agilex5e-ed-gsrd/blob/main/README.md"
click node_nios_test "https://github.com/altera-fpga/agilex5e-ed-gsrd/blob/main/dk-a5e065ab32aea-enablement/baseline-a55/niosv_fw/app/main.c"
click node_f2sdram "https://github.com/altera-fpga/agilex5e-ed-gsrd/blob/main/dk-a5e065ab32aea-enablement/baseline-a55/niosv_fw/app/main.c"
click node_f2h "https://github.com/altera-fpga/agilex5e-ed-gsrd/blob/main/dk-a5e065ab32aea-enablement/baseline-a55/niosv_fw/app/main.c"
click node_linux_hello "https://github.com/altera-fpga/agilex5e-ed-gsrd/blob/main/dk-a5e065ab32aea-enablement/baseline-a55/software/yocto_linux/meta-custom/recipes-apps/hello/files/hello.c"
click node_gpio_interrupt "https://github.com/altera-fpga/agilex5e-ed-gsrd/blob/main/dk-a5e065ab32aea-enablement/baseline-a55/software/yocto_linux/meta-custom/recipes-kernel/linux/pio-interrupt/files/gpio_interrupt.c"
click node_freertos_hello "https://github.com/altera-fpga/agilex5e-ed-gsrd/blob/main/dk-a5e065ab32aea-enablement/baseline-a55/software/freertos/hello-world-app/main.c"
click node_data_main "https://github.com/altera-fpga/agilex5e-ed-gsrd/blob/main/dk-a5e065ab32aea-enablement/datamover/software/freertos/datamover-app/multi-threaded/main.c"
click node_data_tasks "https://github.com/altera-fpga/agilex5e-ed-gsrd/tree/main/dk-a5e065ab32aea-enablement/datamover/software/freertos/datamover-app/multi-threaded/datamover_tasks"
click node_qos "https://github.com/altera-fpga/agilex5e-ed-gsrd/blob/main/dk-a5e065ab32aea-enablement/datamover/software/freertos/datamover-app/qos_generator/qos_generator.h"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_integrated_design,node_fabric_ip,node_boot_linux,node_user toneBlue
class node_nios_test,node_f2sdram,node_f2h,node_freertos_hello,node_qspi toneAmber
class node_linux_hello,node_gpio_interrupt toneMint
class node_data_main,node_data_tasks,node_qos toneRose
class node_platform,node_fpga_sdm toneIndigo
```

## Components

### Reference Design

- [HPS-FPGA Design](https://github.com/altera-fpga/agilex5e-ed-gsrd/blob/main/README.md): `README.md`
- [Fabric IP](https://github.com/altera-fpga/agilex5e-ed-gsrd/blob/main/README.md): `README.md`
- [Booted Linux](https://github.com/altera-fpga/agilex5e-ed-gsrd/blob/main/README.md): `README.md`

### Embedded Firmware

- [Nios V Bridge Test](https://github.com/altera-fpga/agilex5e-ed-gsrd/blob/main/dk-a5e065ab32aea-enablement/baseline-a55/niosv_fw/app/main.c): `dk-a5e065ab32aea-enablement/baseline-a55/niosv_fw/app/main.c`
- [F2SDRAM Bridge](https://github.com/altera-fpga/agilex5e-ed-gsrd/blob/main/dk-a5e065ab32aea-enablement/baseline-a55/niosv_fw/app/main.c): `dk-a5e065ab32aea-enablement/baseline-a55/niosv_fw/app/main.c`
- [F2H Bridge](https://github.com/altera-fpga/agilex5e-ed-gsrd/blob/main/dk-a5e065ab32aea-enablement/baseline-a55/niosv_fw/app/main.c): `dk-a5e065ab32aea-enablement/baseline-a55/niosv_fw/app/main.c`
- [FreeRTOS Hello](https://github.com/altera-fpga/agilex5e-ed-gsrd/blob/main/dk-a5e065ab32aea-enablement/baseline-a55/software/freertos/hello-world-app/main.c): `dk-a5e065ab32aea-enablement/baseline-a55/software/freertos/hello-world-app/main.c`

### Linux Samples

- [Hello Sample](https://github.com/altera-fpga/agilex5e-ed-gsrd/blob/main/dk-a5e065ab32aea-enablement/baseline-a55/software/yocto_linux/meta-custom/recipes-apps/hello/files/hello.c): `dk-a5e065ab32aea-enablement/baseline-a55/software/yocto_linux/meta-custom/recipes-apps/hello/files/hello.c`
- [GPIO Interrupt](https://github.com/altera-fpga/agilex5e-ed-gsrd/blob/main/dk-a5e065ab32aea-enablement/baseline-a55/software/yocto_linux/meta-custom/recipes-kernel/linux/pio-interrupt/files/gpio_interrupt.c): `dk-a5e065ab32aea-enablement/baseline-a55/software/yocto_linux/meta-custom/recipes-kernel/linux/pio-interrupt/files/gpio_interrupt.c`

### Data Mover Demo

- [Data Mover Runtime](https://github.com/altera-fpga/agilex5e-ed-gsrd/blob/main/dk-a5e065ab32aea-enablement/datamover/software/freertos/datamover-app/multi-threaded/main.c): `dk-a5e065ab32aea-enablement/datamover/software/freertos/datamover-app/multi-threaded/main.c`
- [Transfer Tasks](https://github.com/altera-fpga/agilex5e-ed-gsrd/tree/main/dk-a5e065ab32aea-enablement/datamover/software/freertos/datamover-app/multi-threaded/datamover_tasks): `dk-a5e065ab32aea-enablement/datamover/software/freertos/datamover-app/multi-threaded/datamover_tasks`
- [QoS Generator](https://github.com/altera-fpga/agilex5e-ed-gsrd/blob/main/dk-a5e065ab32aea-enablement/datamover/software/freertos/datamover-app/qos_generator/qos_generator.h): `dk-a5e065ab32aea-enablement/datamover/software/freertos/datamover-app/qos_generator/qos_generator.h`

### Other components

- **Design User**
- **Agilex 5 SoC**
- **QSPI Flash**
- **FPGA SDM**

## Connections

- Design User → HPS-FPGA Design: opens or modifies (evidence: `README.md`)
- HPS-FPGA Design → Agilex 5 SoC: targets (evidence: `README.md`)
- HPS-FPGA Design → Fabric IP: integrates (evidence: `README.md`)
- HPS-FPGA Design → Booted Linux: supports boot (evidence: `README.md`)
- Booted Linux → Hello Sample: runs sample (evidence: `README.md`)
- Booted Linux → GPIO Interrupt: runs sample (evidence: `README.md`)
- Nios V Bridge Test → F2SDRAM Bridge: tests bridge (evidence: `dk-a5e065ab32aea-enablement/baseline-a55/niosv_fw/app/main.c`)
- Nios V Bridge Test → F2H Bridge: tests bridge (evidence: `dk-a5e065ab32aea-enablement/baseline-a55/niosv_fw/app/main.c`)
- Data Mover Runtime → QSPI Flash: reads bitstream (evidence: `dk-a5e065ab32aea-enablement/datamover/software/freertos/datamover-app/multi-threaded/main.c`)
- Data Mover Runtime → FPGA SDM: loads bitstream (evidence: `dk-a5e065ab32aea-enablement/datamover/software/freertos/datamover-app/multi-threaded/main.c`)
- Data Mover Runtime → Transfer Tasks: sets up tasks (evidence: `dk-a5e065ab32aea-enablement/datamover/software/freertos/datamover-app/multi-threaded/main.c`)
- Data Mover Runtime → QoS Generator: references definitions (evidence: `dk-a5e065ab32aea-enablement/datamover/software/freertos/datamover-app/multi-threaded/main.c`)
