Article ID: 000088607 Content Type: Maintenance & Performance Last Reviewed: 12/17/2021

How do I set the SOF and EOF on each descriptor of the Multi Channel DMA IP for PCI Express* in Intel® Quartus® Prime Pro Edition Software version 21.2?

Environment

  • Intel® Quartus® Prime Pro Edition
  • BUILT IN - ARTICLE INTRO SECOND COMPONENT
    Description

    In the Intel® Quartus® Prime Pro Edition Software version 21.2 Multi-Channel DMA for PCI Express* IP, the file size is 64 descriptors in software by default. Every 64th descriptor contains an EOF set.

    Resolution

    To set the SOF and EOF on each descriptor, please use following steps.

    1. Add the following highlighted txt line in examples/mcdma-test/perfq/Makefile

    CFLAGS += -O3

    CFLAGS += -DPERFQ_PERF

    CFLAGS += -UPERFQ_DATA

    CFLAGS += -UPERFQ_LOAD_DATA

    CFLAGS += -UVERIFY_FUNC

    CFLAGS += -UIFC_ED_CONFIG_TID_UPDATE

    CFLAGS += -DIFC_MCDMA_FUNC_VER

    CFLAGS += $(WERROR_FLAGS)

    1. Make clean all   => Build perfq_app
    2. Pass the file size as the parameter

    ./build/app/mcdma-test -- -b 0000:01:00.1 -p 64 -l 6 -r -d 1 -c 1 -a 1 -n -f 1     

    (In this command, -f 1 sets the SOF and EOF in every descriptor and every descriptor can be considered as packet)

     

    Additional information

    These make file modification will be set as default in the Intel® Quartus® Prime Pro Edition Software version 21.3 software and future releases.

    Related Products

    This article applies to 2 products

    Intel® Agilex™ 7 FPGAs and SoC FPGAs F-Series
    Intel® Stratix® 10 FPGAs and SoC FPGAs

    Disclaimer

    1

    All postings and use of the content on this site are subject to Intel.com Terms of Use.