3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-04-08 10:25:19 +00:00

Wrong fixed value

This commit is contained in:
diego 2020-04-17 10:15:22 -05:00
parent 87910732f1
commit 50581d5a94

View file

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