Wrong fixed value

This commit is contained in:
diego 2020-04-17 10:15:22 -05:00
parent 87910732f1
commit 50581d5a94
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@ module reversed #(parameter WIDTH=256, SELW=2)
localparam SLICE = WIDTH/(SELW**2); localparam SLICE = WIDTH/(SELW**2);
always @(posedge clk) begin always @(posedge clk) begin
dout[(1024-ctrl*sel)-:SLICE] <= din; dout[(WIDTH-ctrl*sel)-:SLICE] <= din;
end end
endmodule endmodule