hps arch
36 TopicsFIFO trigger issue in Avalon UART IP in FPGA - CycloneV - 5CSEBA4U23C7N
Problem statement: We have created 8 Avalon UARTs in the FPGA in the above SoC. In the Quartus program the FIFO dept is set at 256(max) for each UART. The Linux HPS program is able to see the serial port and the application can send and receive data over the serial port. Please find attached. Regards amolkumar45Views0likes6CommentsCyclone V HPS SPI Master: Formula for calculating Tsu(min)/Th(min) from rx_sample_dly and spi_m_clk
Hello, For the HPS SPI Master on the Cyclone V SoC, verify that the SPI read waveform and register settings are correct. To do this, calculate the MISO setup time and hold time under the operating conditions. Current settings: rx_sample_dly = 1, spi_m_clk = 200 MHz [Background] The Cyclone V Device Datasheet and the Hard Processor System Technical Reference Manual do not contain a formula for determining Tsu (min) from rx_sample_dly and spi_m_clk. In the datasheet, Tsu = 8.35 ns (min) is only shown as a characteristic value under the condition "rx_sample_dly = 1, spi_m_clk = 120 MHz" (Note 69). Also, Th = 1 ns (min) has no note indicating its relationship with rx_sample_dly and spi_m_clk. • [Reference] Cyclone V Device Datasheet → "SPI Timing Characteristics" On the other hand, the datasheet for a newer generation device (such as the Agilex 3) equipped with the same SPI controller has the following expression: • Tsu(min) = 5.0 − (rx_sample_dly × Tspi_ref_clk) [ns] • Th(min) = 1.3 + (rx_sample_dly × Tspi_ref_clk) [ns] • [Reference] Agilex 3 FPGAs and SoCs Device Data Sheet → "HPS SPI Timing Characteristics" [What I want to know] 1. For the HPS SPI Master of the Cyclone V SoC, is there a formula to calculate Tsu (min) from rx_sample_dly and spi_m_clk periods like Agilex 3? If so, please tell me the formula and constant term. 2. Similarly, is there a formula to calculate Th (min) from rx_sample_dly and spi_m_clk periods? Also, please tell me under which condition (rx_sample_dly, spi_m_clk) Th = 1 ns (min) in the data sheet is the value. 3. If there is no official formula, is it correct to apply the same shape as Agilex3 (constant ̇ rx_sample_dly × T) to Cyclone V? If so, please tell me the constant to use. Also, I would like to know if the constant is based on rx_sample_dly = 0, and if 8.35 ns in the data sheet already includes 1 stage of rx_sample_dly. 4. Please tell me Tsu (min) and Th (min) under the current condition (rx_sample_dly = 1, spi_m_clk = 200 MHz). Thank you for your support.Solved132Views0likes4CommentsIntroducing the Altera Community AI Responder — Beta
Altera is introducing the AI Responder, an assistant built into the Altera Community to help provide faster, context-aware guidance for Altera product questions. It uses relevant public Altera documentation and Knowledge Database content, with coverage continuing to expand. The AI Responder may provide source references and can hand off complex or out-of-scope questions to an Altera subject-matter expert. As a beta feature, responses may contain errors or omissions, so please review the sources and verify technical guidance against official Altera documentation before implementation. If the response does not fully address your question, add more context and tag ai_responder to continue the discussion. We welcome your feedback as we improve the Community experience.52Views0likes0CommentsRelease 26.1.1
Version: Release 26.1.1 PRO Quartus Build/TAG: B130/QPDS26.1.1_REL_GSRD_PR Release Date: August 17, 2026 Device Affected: Agilex™ 3, Agilex™ 5, Agilex™ 7, Startix® 10 Release Type: Major release/Binary release Binary Release Path: http://releases.rocketboards.org/2026.08/ Release Page: https://github.com/altera-fpga/gsrd-socfpga/releases/tag/QPDS26.1.1_REL_GSRD_PR Major Features Released Agilex™ 5 XEN Hypervisor 5 System Example Design https://altera-fpga.github.io/rel-26.1.1/virtualization/hypervisors/xen/ug-xen-agx5e-premium-065b/ , https://altera-fpga.github.io/rel-26.1.1/virtualization/hypervisors/xen/ug-xen-agx5e-premium-065a/ Agilex™ 5 RYO OPTE System Example Design Agilex™ 5 Quartus Reference Design using VDS Agilex™ 3 Time-Sensitive Networking (TSN): PHY configuration 2 (RGMII from FPGA HVIO) System Example Design Agilex™ 5 Performance Optimized Baseline SED support Agilex™ 5 DataMover / Bridge and Memory Benchmark System Example Design https://altera-fpga.github.io/rel-26.1.1/embedded-designs/agilex-5/e-series/premium-065a/data-mover/ug-data-mover-agx5e-premium-065a/ Agilex™ 3 support of FreeRTOS Agilex™ 5 Terasic DE25-Nano Board System Example Design150Views2likes0CommentsHow to Generate Altera HAL for HPS?
Hi, I am using Quartus 26.1 with the Agilex 5 Modular Development Kit (Device number: A5ED065BB32AE6SR0) and I have a few questions about BSP Generation for Hard Processor System (HPS). For reference I am following the Quartus Prime Pro Edition Version 26.1 User Guide. 1. How do I generate Altera HAL for HPS? When I use the BSP Editor in platform designer, I can only generate the system.h file that only has macros for EMIF, even though other peripherals are also connected to the HPS. How do I generate macros for the H2F bridges and HAL API Files for the HPS? 2. How do I input a SOPCINFO file into the BSP Editor? The Quartus Prime Pro Edition User Guide shows that I should be able to input SOPCINFO file as the system file (see above image) but Quartus only gives me the options of QSYS and IP file (see below image). Thank you for the help!Solved274Views0likes5CommentsF2SDRAM test inquiries.
Hi Guys, I am testing the F2SDRAM bridge. 32 bit address, 256bits data. Due to recurring missing Verilog file errors for the Qsys adapter IP whenever switching PCs, I removed the adapter earlier and am currently testing by directly exporting f2s from the HPS to the top level. I implemented tester logic on the FPGA side to write and read 256-bit data once per transaction (len=0) for 2048 comparisons, but the B channel signal keeps returning 2'b11 (DECERR). I implemented the tester logic on the FPGA side to perform 2,048 read/write comparison cycles with 256-bit data in single-beat transactions (len=0) using a base address of 0x8000_0000. However, I am at a loss because the B channel signal continuously returns 2'b11 (DECERR). Debugging this solely based on the B channel response is quite challenging. For reference, I am currently running this test on an 013b devkit using the GHRD Linux Reference Design, triggering the start signal via Signal Probe after the kernel has fully booted up Could this be an issue with sideband signals or the kernel driver? Gemini suggests that the bridge might be in reset or it could be due to SMMU. I have already disabled SMMU. As expected, learning and applying new technology is always tough. Thank.Solved261Views0likes6CommentsAgilex 5E HPS and Linux
Hi. 1. Is there a simple method to run two Linux systems on HPS, i.e.: Linux 1 - 2xA55 and Linux 2 - 2xA76 with different sets of peripherals? 2. Is it possible to use one Ethernet port by these two Linux systems. 3. Is there a simple method for communication between these two Linux systems?621Views0likes8CommentsArria 10 HPS - DMA EMAC reset issue
Hello, We are bring-up the custom Arria 10 board, we have some issue with HPS GMAC in U-Boot. Arria 10 connect to SFP (1 G Ethernet) , our interface is : HPS EMAC0 → FPGA GMII-to-SGMII Converter → SFP (SGMII PHY) We are working without MDC/MDIO , in fixed mode. During our testing we performed ping and after this we read register 0xFF801000 and we received value 0x00020101( Last bit DMA_BUS_MODE.SWR = 1 instead of the 0). We checked : The input clock of 125 MHz by oscilloscope - looks ok. Reset Manager: 0xFFD05024 = 0xFF7FBEBE (EMAC0 is released from reset). Bridge is working. GMII-to-SGMII registers are accessible Device tree addresses were verified agaonst the .sopcinfo file Looking forward to your response, thanks in advance.Solved148Views0likes5CommentsStratix 10 HPS 8GB SODIMM shared memory for HPS and FPGA
We have custom board with stratix 10 FPGA. the HPS boots from 8GB eMMC and teh linux runs of 2GB soldered DDR4. We also have a 8GB DDR4 SODIMM which we plan to use as a shared memory between the HPS and FPGA. We need help in interfacing this memory with the HPS and FPGA. There are about 8 FPGA modules that need to access the SODIMM along with teh HPS. So total of 8 ports to the memory controller. Can you suggest a solution for this. Is there any muti port wrapper ip for the EMI IP which we can use for this. Also, can the HPS h2f bridge access 8GB memory?Solved84Views0likes2Comments