Article ID: 000086299 Content Type: Troubleshooting Last Reviewed: 09/09/2012

Does the Quartus II synthesis support event controls in Verilog HDL?

Environment

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

No, the Quartus® II Integrated Synthesis does not support event controls in Verilog HDL. For example, the code below synthesizes only one register, although the Quartus II synthesis does not issue an error:

module lab0_uart(
    input clk_i,
    input rx_i,
    output reg tx_o
    );

always @(posedge clk_i) begin
    tx_o <= repeat(2000) @(posedge clk_i) rx_i;
    end
endmodule

Resolution

To avoid this behavior, do not use event controls in Verilog HDL.

An error indicating that this syntax is not supported is scheduled to be added to a future release of the Quartus II software.

Related Products

This article applies to 1 products

Intel® Programmable Devices

1