Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Haleski47 opened this issue Feb 6, 2025 · 0 comments
Open

Comments

@Haleski47
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant