From 99207c862c104ee90490ad8d6c50755409fcf029 Mon Sep 17 00:00:00 2001 From: Hansung Kim Date: Sun, 19 Nov 2023 17:48:38 -0800 Subject: [PATCH] Revert PutPartial -> PutFull spoofing --- hw/rtl/VX_core_wrapper.sv | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/hw/rtl/VX_core_wrapper.sv b/hw/rtl/VX_core_wrapper.sv index 96025b00..f0310562 100644 --- a/hw/rtl/VX_core_wrapper.sv +++ b/hw/rtl/VX_core_wrapper.sv @@ -310,19 +310,19 @@ module Vortex import VX_gpu_pkg::*; #( // Translate Vortex rw/byteen to TileLink opcode assign dmem_0_a_bits_opcode = dcache_bus_if[0].req_data.rw ? - (&dcache_bus_if[0].req_data.byteen ? 3'd0 /*PutFull*/ : 3'd0 /*FIXME: PutPartial but spoofed to PutFull*/) + (&dcache_bus_if[0].req_data.byteen ? 3'd0 /*PutFull*/ : 3'd1 /*PutPartial*/) : 3'd4 /*Get*/; assign dmem_1_a_bits_opcode = dcache_bus_if[1].req_data.rw ? - (&dcache_bus_if[1].req_data.byteen ? 3'd0 /*PutFull*/ : 3'd0 /*FIXME: PutPartial but spoofed to PutFull*/) + (&dcache_bus_if[1].req_data.byteen ? 3'd0 /*PutFull*/ : 3'd1 /*PutPartial*/) : 3'd4 /*Get*/; assign dmem_2_a_bits_opcode = dcache_bus_if[2].req_data.rw ? - (&dcache_bus_if[2].req_data.byteen ? 3'd0 /*PutFull*/ : 3'd0 /*FIXME: PutPartial but spoofed to PutFull*/) + (&dcache_bus_if[2].req_data.byteen ? 3'd0 /*PutFull*/ : 3'd1 /*PutPartial*/) : 3'd4 /*Get*/; assign dmem_3_a_bits_opcode = dcache_bus_if[3].req_data.rw ? - (&dcache_bus_if[3].req_data.byteen ? 3'd0 /*PutFull*/ : 3'd0 /*FIXME: PutPartial but spoofed to PutFull*/) + (&dcache_bus_if[3].req_data.byteen ? 3'd0 /*PutFull*/ : 3'd1 /*PutPartial*/) : 3'd4 /*Get*/; // Vortex cache requests are single-fixed-size