Skip to content

CDMA_wt flush problem (wt_cbuf_flush_idx will be blocked at 4096) #373

@Haleski47

Description

@Haleski47

Hi, in vmod/nvdla/cdma/NV_NVDLA_CDMA_wt.v , line 7287, I notice that wt_cbuf_flush_idx_w will be blocked at 4096 except for reset. i don't know if this is right

always @(
wt_cbuf_flush_idx
) begin
{mon_wt_cbuf_flush_idx_w,
wt_cbuf_flush_idx_w} = wt_cbuf_flush_idx + 1'b1;
end

always @(
wt_cbuf_flush_idx
) begin
wt_cbuf_flush_vld_w = ~wt_cbuf_flush_idx[(1 + 12 ) -1];
end

assign dp2reg_wt_flush_done = wt_cbuf_flush_idx[(1 + 12 ) -1];

always @(posedge nvdla_core_ng_clk or negedge nvdla_core_rstn) begin
if (!nvdla_core_rstn) begin
wt_cbuf_flush_idx <= {13{1'b0}};
end else begin
if ((wt_cbuf_flush_vld_w) == 1'b1) begin
wt_cbuf_flush_idx <= wt_cbuf_flush_idx_w;
// VCS coverage off
end else if ((wt_cbuf_flush_vld_w) == 1'b0) begin
end else begin
wt_cbuf_flush_idx <= 'bx; // spyglass disable STARC-2.10.1.6 W443 NoWidthInBasedNum-ML -- (Constant containing x or z used, Based number bx contains an X, Width specification missing for based number)
// VCS coverage on
end
end
end

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