Skip to content

Commit

Permalink
CFG Update (#34)
Browse files Browse the repository at this point in the history
  • Loading branch information
IveanEx authored Sep 14, 2024
1 parent 2697028 commit a33a68e
Show file tree
Hide file tree
Showing 5 changed files with 65 additions and 301 deletions.
88 changes: 27 additions & 61 deletions target/rtl/cfg/cluster_cfg/snax_KUL_cluster.hjson
Original file line number Diff line number Diff line change
Expand Up @@ -186,81 +186,47 @@
// SNAX Streamer Templates
snax_streamer_gemmX_streamer_template :{

temporal_addrgen_unit_params: {
loop_dim: [6, 3, 3, 3, 3],
share_temp_addr_gen_loop_bounds: false,
}

fifo_reader_params: {
fifo_width: [512, 512],
data_reader_params: {
spatial_bounds: [[8], [8]],
temporal_dim: [6, 3],
num_channel: [8, 8],
fifo_depth: [2, 2],
}

fifo_writer_params: {
fifo_width: [512],
fifo_depth: [2],
}

fifo_reader_writer_params: {
fifo_width: [2048],
fifo_depth: [2],
}

data_reader_params:{
tcdm_ports_num: [8, 8],
spatial_bounds: [[8, 8], [8, 8]],
spatial_dim: [2, 2],
element_width: [8, 8],
}
},

data_writer_params:{
tcdm_ports_num: [8],
spatial_bounds: [[8, 8]],
spatial_dim: [2],
element_width: [8],
}
spatial_bounds: [[8]],
temporal_dim: [3],
num_channel: [8],
fifo_depth: [2],
},

data_reader_writer_params:{
tcdm_ports_num: [32],
spatial_bounds: [[8, 8]],
spatial_dim: [2],
element_width: [32],
}
spatial_bounds: [[32], [32]],
temporal_dim: [3, 3],
num_channel: [32, 32],
fifo_depth: [2, 2],
},

stationarity: [0,0,0,0,0]
snax_library_name: "streamer-gemm-conv-simd",
},
// SNAX Streamer Templates
snax_data_reshuffler_streamer_template :{

temporal_addrgen_unit_params: {
loop_dim: [5, 3],
share_temp_addr_gen_loop_bounds: false,
}

fifo_reader_params: {
fifo_width: [512],
fifo_depth: [2],
}

fifo_writer_params: {
fifo_width: [512],
fifo_depth: [2],
}

data_reader_params:{
tcdm_ports_num: [8],
data_reader_params: {
spatial_bounds: [[8]],
spatial_dim: [1],
element_width: [64],
}
temporal_dim: [5],
num_channel: [8],
fifo_depth: [2],
},

data_writer_params:{
tcdm_ports_num: [8],
spatial_bounds: [[8]],
spatial_dim: [1],
element_width: [64],
}
temporal_dim: [3],
num_channel: [8],
fifo_depth: [2],
},

snax_library_name: "data-reshuffler",

stationarity: [0,0]
}
}
86 changes: 16 additions & 70 deletions target/rtl/cfg/cluster_cfg/snax_KUL_xdma_cluster.hjson
Original file line number Diff line number Diff line change
Expand Up @@ -169,81 +169,27 @@
// SNAX Streamer Templates
snax_streamer_gemmX_streamer_template :{

temporal_addrgen_unit_params: {
loop_dim: [6, 3, 3, 3, 3],
share_temp_addr_gen_loop_bounds: false,
}

fifo_reader_params: {
fifo_width: [512, 512],
data_reader_params: {
spatial_bounds: [[8], [8]],
temporal_dim: [6, 3],
num_channel: [8, 8],
fifo_depth: [2, 2],
}

fifo_writer_params: {
fifo_width: [512],
fifo_depth: [2],
}

fifo_reader_writer_params: {
fifo_width: [2048],
fifo_depth: [2],
}

data_reader_params:{
tcdm_ports_num: [8, 8],
spatial_bounds: [[8, 8], [8, 8]],
spatial_dim: [2, 2],
element_width: [8, 8],
}
},

data_writer_params:{
tcdm_ports_num: [8],
spatial_bounds: [[8, 8]],
spatial_dim: [2],
element_width: [8],
}

data_reader_writer_params:{
tcdm_ports_num: [32],
spatial_bounds: [[8, 8]],
spatial_dim: [2],
element_width: [32],
}

stationarity: [0,0,0,0,0]
},
// SNAX Streamer Templates
snax_data_reshuffler_streamer_template :{

temporal_addrgen_unit_params: {
loop_dim: [5, 3],
share_temp_addr_gen_loop_bounds: false,
}

fifo_reader_params: {
fifo_width: [512],
fifo_depth: [2],
}

fifo_writer_params: {
fifo_width: [512],
fifo_depth: [2],
}

data_reader_params:{
tcdm_ports_num: [8],
spatial_bounds: [[8]],
spatial_dim: [1],
element_width: [64],
}
temporal_dim: [3],
num_channel: [8],
fifo_depth: [2],
},

data_writer_params:{
tcdm_ports_num: [8],
spatial_bounds: [[8]],
spatial_dim: [1],
element_width: [64],
}
data_reader_writer_params:{
spatial_bounds: [[32], [32]],
temporal_dim: [3, 3],
num_channel: [32, 32],
fifo_depth: [2, 2],
},

stationarity: [0,0]
snax_library_name: "streamer-gemm-conv-simd",
}
}
35 changes: 10 additions & 25 deletions target/rtl/cfg/cluster_cfg/snax_alu_cluster.hjson
Original file line number Diff line number Diff line change
Expand Up @@ -150,35 +150,20 @@
// SNAX Streamer Templates
snax_alu_streamer_template :{

temporal_addrgen_unit_params: {
loop_dim: [1],
share_temp_addr_gen_loop_bounds: true,
}

fifo_reader_params: {
fifo_width: [256, 256],
fifo_depth: [8, 8],
}

fifo_writer_params: {
fifo_width: [256],
fifo_depth: [8],
}

data_reader_params:{
tcdm_ports_num: [4, 4],
data_reader_params: {
spatial_bounds: [[4], [4]],
spatial_dim: [1,1],
element_width: [64,64],
}
temporal_dim: [1, 1],
num_channel: [4, 4],
fifo_depth: [8, 8],
},

data_writer_params:{
tcdm_ports_num: [4],
spatial_bounds: [[4]],
spatial_dim: [1],
element_width: [64],
}
temporal_dim: [1],
num_channel: [4],
fifo_depth: [8],
},

stationarity: [0,0,0]
snax_library_name: "snax-alu",
}
}
39 changes: 12 additions & 27 deletions target/rtl/cfg/cluster_cfg/snax_hypercorex_cluster.hjson
Original file line number Diff line number Diff line change
Expand Up @@ -158,35 +158,20 @@
// SNAX Streamer Templates
snax_hypercorex_streamer_template :{

temporal_addrgen_unit_params: {
loop_dim: [2,2,2,2,2,2,2],
share_temp_addr_gen_loop_bounds: false,
}

fifo_reader_params: {
fifo_width: [64,64,512,512,512],
fifo_depth: [4,4,4,4,4],
}

fifo_writer_params: {
fifo_width: [64, 512],
fifo_depth: [4, 4],
}

data_reader_params:{
tcdm_ports_num: [1,1,8,8,8],
spatial_bounds: [[1],[1],[8],[8],[8]],
spatial_dim: [1,1,1,1,1],
element_width: [64,64,64,64,64],
}
data_reader_params: {
spatial_bounds: [[1], [1], [8], [8], [8]],
temporal_dim: [2, 2, 2, 2, 2],
num_channel: [1, 1, 8, 8, 8],
fifo_depth: [4, 4, 4, 4, 4],
},

data_writer_params:{
tcdm_ports_num: [1,8],
spatial_bounds: [[1],[8]],
spatial_dim: [1,1],
element_width: [64,64],
}
spatial_bounds: [[1], [8]],
temporal_dim: [2, 2],
num_channel: [1, 8],
fifo_depth: [4, 4],
},

stationarity: [0,0,0,0,0,0,0]
snax_library_name: "hypercorex",
}
}
Loading

0 comments on commit a33a68e

Please sign in to comment.