mirror of
https://github.com/vortexgpgpu/vortex.git
synced 2025-04-23 21:39:10 -04:00
minor update
This commit is contained in:
parent
22f4d6609c
commit
583809f10d
2 changed files with 6 additions and 1 deletions
|
@ -356,4 +356,9 @@ module VX_csr_data #(
|
|||
assign fpu_to_csr_if.read_frm = fcsr[fpu_to_csr_if.read_wid][`INST_FRM_BITS+`FP_FLAGS_BITS-1:`FP_FLAGS_BITS];
|
||||
`endif
|
||||
|
||||
`ifdef PERF_ENABLE
|
||||
wire [`PERF_CTR_BITS-1:0] perf_wctl_stalls = gpu_perf_if.wctl_stalls;
|
||||
`UNUSED_VAR (perf_wctl_stalls);
|
||||
`endif
|
||||
|
||||
endmodule
|
||||
|
|
|
@ -253,7 +253,7 @@ module VX_gpu_unit #(
|
|||
if (reset) begin
|
||||
perf_wctl_stalls <= '0;
|
||||
end else begin
|
||||
perf_wctl_stalls <= perf_wctl_stalls + `PERF_CTR_BITS'(wctl_req_valid && ~wctl_req_ready);
|
||||
perf_wctl_stalls <= perf_wctl_stalls + `PERF_CTR_BITS'(wctl_exe_if.valid && ~wctl_exe_if.ready);
|
||||
end
|
||||
end
|
||||
assign gpu_perf_if.wctl_stalls = perf_wctl_stalls;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue