@@ -21,7 +21,7 @@ module mmio (
21
21
input logic rstn_in ,
22
22
input logic [0 : 63 ] report_errors ,
23
23
input cu_return_type cu_return ,
24
- input logic [ 0 : 63 ] cu_return_done ,
24
+ input cu_return_type cu_return_done ,
25
25
input logic [0 : 63 ] cu_status ,
26
26
input logic [0 : 63 ] afu_status ,
27
27
input ResponseStatistcsInterface response_statistics ,
@@ -84,7 +84,7 @@ module mmio (
84
84
logic data_ack ;
85
85
logic [0 : 63 ] report_errors_latched ;
86
86
cu_return_type cu_return_latched ;
87
- logic [ 0 : 63 ] cu_return_done_latched;
87
+ cu_return_type cu_return_done_latched;
88
88
logic [0 : 63 ] afu_status_latched ;
89
89
logic [0 : 63 ] cu_status_latched ;
90
90
logic [0 : 63 ] cu_return_mmio_ack ;
@@ -298,7 +298,10 @@ module mmio (
298
298
data_out <= cu_return_latched.var2;
299
299
end
300
300
CU_RETURN_DONE : begin
301
- data_out <= cu_return_done_latched;
301
+ data_out <= cu_return_done_latched.var1;
302
+ end
303
+ CU_RETURN_DONE_2 : begin
304
+ data_out <= cu_return_done_latched.var2;
302
305
end
303
306
ERROR_REG : begin
304
307
data_out <= report_errors_latched;
0 commit comments