Commit d49750c1 authored by Zsolt István's avatar Zsolt István
Browse files

fixed memory allocation bug

parent 68c284e1
......@@ -402,7 +402,7 @@ module nukv_Malloc #(
ST_ALLOC_PUSHREMAINDER: begin
if (poppedpointer[63:32]>=neededsize) begin
if (poppedpointer[63:32]>=2*neededsize) begin
queuein[in_class] <= {poppedpointer[63:32]-neededsize, poppedpointer[31:0]+neededsize};
queuepush[in_class] <= 1;
end
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment