Skip to content

could non-blocking (<=) used in always_comb?  #2

@constant007

Description

@constant007

could non-blocking (<=) used in always_comb?
always_comb
begin
rdata_expected <= 0;
case (current_state)
RD_REG_VDMACR : rdata_expected <= 'h03;
RD_REG_MM2S_HSIZE : rdata_expected <= HSIZE;
RD_REG_MM2S_VSIZE : rdata_expected <= VSIZE;
default : rdata_expected <= 0;
endcase
end

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions