Skip to content

Verilog syntax #123

Description

@xolod79

There are several places in the code where the SystemVerilog capabilities are used in files with simple Verilog, this is critical for Quartus.

wire rom_image_fifo_ptr_equal = rom_image_fifo_wr_ptr[IMAGE_FIFO_BITS-1:0] == rom_image_fifo_rd_ptr[IMAGE_FIFO_BITS-1:0];

logic [7:0] fd_dma_rd_ptr = fifo_word_counter - 10'd31;

logic [7:0] dbyte = { fifo_out[14], fifo_out[12], fifo_out[10], fifo_out[8],

But even if you change logic to wire, Quartus can't compile this code correctly and generates structures containing several thousand LE.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions