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

fixing memalloc bug in this branch as well... probably should have done this nicer

parent 6056428e
...@@ -402,7 +402,7 @@ module nukv_Malloc #( ...@@ -402,7 +402,7 @@ module nukv_Malloc #(
ST_ALLOC_PUSHREMAINDER: begin 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}; queuein[in_class] <= {poppedpointer[63:32]-neededsize, poppedpointer[31:0]+neededsize};
queuepush[in_class] <= 1; queuepush[in_class] <= 1;
end end
......
Supports Markdown
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