Skip to content

Commit

Permalink
[Parameter] Update parameters for TeraPool
Browse files Browse the repository at this point in the history
  • Loading branch information
yichao-zh committed Nov 1, 2023
1 parent 8a55131 commit 590bd86
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion config/config.mk
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ axi_data_width ?= 512
ro_line_width ?= 512

# Number of DMA backends in each group
dmas_per_group ?= 4
dmas_per_group ?= 8

#############################
## Xqueues configuration ##
Expand Down
2 changes: 1 addition & 1 deletion config/terapool.mk
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ banking_factor ?= 4
remote_group_latency_cycles ?= 7

# Radix for hierarchical AXI interconnect
axi_hier_radix ?= 9
axi_hier_radix ?= 10

# Number of AXI masters per group
axi_masters_per_group ?= 4
Expand Down
2 changes: 2 additions & 0 deletions hardware/src/mempool_cc.sv
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,7 @@ module mempool_cc
assign data_resp_d_valid = data_pvalid_i;
assign data_pready_o = data_resp_d_ready;

`ifndef POSTLAYOUT
// --------------------------
// Tracer
// --------------------------
Expand Down Expand Up @@ -319,5 +320,6 @@ module mempool_cc
$fclose(f);
end
// pragma translate_on
`endif

endmodule
2 changes: 1 addition & 1 deletion hardware/src/mempool_pkg.sv
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ package mempool_pkg;
* TeraPool PARAMETERS *
*************************/

localparam integer unsigned NumSubGroupsPerGroup = `ifdef TERAPOOL `NUM_SUB_GROUPS_PER_GROUP `else 1 `endif;
localparam integer unsigned NumSubGroupsPerGroup = `ifdef NUM_SUB_GROUPS_PER_GROUP `NUM_SUB_GROUPS_PER_GROUP `else 1 `endif;

// TeraPool Tile Config
localparam integer unsigned NumSubGroups = NumGroups * NumSubGroupsPerGroup;
Expand Down

0 comments on commit 590bd86

Please sign in to comment.