mirror of https://github.com/YosysHQ/yosys.git
Wrong fixed value
This commit is contained in:
parent
87910732f1
commit
50581d5a94
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue