Add verilator pragma to suppress BLKLOOPINIT in DelayBuffer.v
This commit is contained in:
@@ -17,6 +17,7 @@ reg [WIDTH-1:0] buf_im[0:DEPTH-1];
|
|||||||
integer n;
|
integer n;
|
||||||
|
|
||||||
// Shift Buffer
|
// Shift Buffer
|
||||||
|
/* verilator lint_off BLKLOOPINIT */
|
||||||
always @(posedge clock) begin
|
always @(posedge clock) begin
|
||||||
for (n = DEPTH-1; n > 0; n = n - 1) begin
|
for (n = DEPTH-1; n > 0; n = n - 1) begin
|
||||||
buf_re[n] <= buf_re[n-1];
|
buf_re[n] <= buf_re[n-1];
|
||||||
@@ -25,6 +26,7 @@ always @(posedge clock) begin
|
|||||||
buf_re[0] <= di_re;
|
buf_re[0] <= di_re;
|
||||||
buf_im[0] <= di_im;
|
buf_im[0] <= di_im;
|
||||||
end
|
end
|
||||||
|
/* verilator lint_on BLKLOOPINIT */
|
||||||
|
|
||||||
assign do_re = buf_re[DEPTH-1];
|
assign do_re = buf_re[DEPTH-1];
|
||||||
assign do_im = buf_im[DEPTH-1];
|
assign do_im = buf_im[DEPTH-1];
|
||||||
|
|||||||
Reference in New Issue
Block a user