Added EXEC to Warp Scheduler buffer

This commit is contained in:
fares
2019-11-18 11:34:51 -05:00
parent a3e0b6ed90
commit c6d56f11c3
3 changed files with 49 additions and 12 deletions

View File

@@ -38,10 +38,10 @@ module VX_shared_memory_block
//for (curr_ind = 0; curr_ind < 128; curr_ind = curr_ind + 1)
for (curr_ind = 0; curr_ind < SMB_HEIGHT; curr_ind = curr_ind + 1)
begin
shared_memory[curr_ind] <= 0;
shared_memory[curr_ind] = 0;
end
end else if(shm_write) begin
shared_memory[addr][we][31:0] <= wdata[we][31:0]; // - Ethan's addition
shared_memory[addr][we][31:0] = wdata[we][31:0]; // - Ethan's addition
//if (we == 2'b00) shared_memory[addr][0][31:0] <= wdata[0][31:0];
//if (we == 2'b01) shared_memory[addr][1][31:0] <= wdata[1][31:0];
//if (we == 2'b10) shared_memory[addr][2][31:0] <= wdata[2][31:0];