Article ID: 000087048 Content Type: Troubleshooting Last Reviewed: 02/11/2013

*** Fatal Error: Int Divide By Zero

Environment

  • Quartus® II Subscription Edition
  • BUILT IN - ARTICLE INTRO SECOND COMPONENT
    Description

    Due to a problem in the Quartus® II software version 11.0 and later, you may see a fatal error during synthesis if your Verilog HDL code contains a port width evaluation where either the MSB or the LSB results in a negative number. The following example code will generate this fatal error.

    parameter ADDR_WIDTH = 0;
    input [ ADDR_WIDTH-1:0] address;
    Resolution

    To work around this problem, do not create ports with a negative MSB or LSB.

    A future version of the Quartus II software is scheduled to report an error message describing the problem instead of producing a fatal error.

    Related Products

    This article applies to 1 products

    Intel® Programmable Devices