Article ID: 000092077 Content Type: Troubleshooting Last Reviewed: 04/04/2023

Why does the error "region 'ram' overflowed by 60360 bytes" happened when building Nios® V µC/OS-II design example?

Environment

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

    Due to a problem in the Intel® Quartus® Prime Pro Edition Software version 21.4, 22.1, and 22.2, the build error is due to the OCRAM memory size issue, 13,1072 bytes declared in the create_qsys.tcl. The memory size is insufficient to build the µC/OS-II application. The minimal OCRAM memory size required to build the application is 26,2143 bytes.
        

    Resolution

    To work around this problem, modify the create_qsys.tcl script line 34 to change the memory size as shown:
     “set_component_parameter_value memorySize {262143}”

    This modification will generate a design with OCRAM memory size of 26,2143 bytes, which matches the memory initialization file.
    Take note to change the value size from “0x1FFFF” to “0x3FFFF” when generating the .hex file from .elf.
     

    Additional information

    This problem is fixed in the Intel® Quartus® Prime Software v22.3.

    Related Products

    This article applies to 4 products

    Intel Agilex® 7 FPGAs and SoC FPGAs
    Intel® Arria® 10 FPGAs and SoC FPGAs
    Intel® Cyclone® 10 GX FPGA
    Intel® Stratix® 10 FPGAs and SoC FPGAs