-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
I like the code!
Is there a mistake at the lines '214' and '275' of dds.sv?
always_ff @(posedge clk) begin
integer k;
for (k = 0; k < TAYLOR_OUT_PIPELINE_STAGES; k = k + 1) beginShouldn't it be:
always_ff @(posedge clk) begin
integer k;
for (k = 0; k < TAYLOR_OUT_PIPELINE_STAGES-1; k = k + 1) begin Otherwise it doesn't make sense with:
reg signed [OUT_DW - 1 : 0] out_sin_buf_taylor[TAYLOR_PIPELINE_STAGES - 2 : 0];
reg signed [OUT_DW - 1 : 0] out_cos_buf_taylor[TAYLOR_PIPELINE_STAGES - 2 : 0]; Since otherwise the index goes out of range!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels