mirror of
https://github.com/vortexgpgpu/vortex.git
synced 2025-04-23 21:39:10 -04:00
minor updates
This commit is contained in:
parent
22fef445ff
commit
c397fb5f4b
2 changed files with 4 additions and 3 deletions
|
@ -436,7 +436,7 @@
|
|||
|
||||
// Number of Banks
|
||||
`ifndef DCACHE_NUM_BANKS
|
||||
`define DCACHE_NUM_BANKS (`NUM_LSU_LANES)
|
||||
`define DCACHE_NUM_BANKS `MIN(`NUM_LSU_LANES, 4)
|
||||
`endif
|
||||
|
||||
// Core Response Queue Size
|
||||
|
|
|
@ -191,14 +191,15 @@ module VX_stream_xbar #(
|
|||
end
|
||||
end
|
||||
|
||||
wire [`CLOG2(NUM_INPUTS+1)-1:0] collision_count;
|
||||
wire [`CLOG2(NUM_INPUTS+1)-1:0] collision_count, collision_count_r;
|
||||
`POP_COUNT(collision_count, per_cycle_collision);
|
||||
`BUFFER(collision_count_r, collision_count);
|
||||
|
||||
always @(posedge clk) begin
|
||||
if (reset) begin
|
||||
collisions_r <= '0;
|
||||
end else begin
|
||||
collisions_r <= collisions_r + PERF_CTR_BITS'(collision_count);
|
||||
collisions_r <= collisions_r + PERF_CTR_BITS'(collision_count_r);
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue