Skip to content

Commit

Permalink
wip: Configure cluster wrapper for shuffle instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
fischeti committed Aug 14, 2024
1 parent 70560fc commit 521ecb2
Showing 1 changed file with 19 additions and 3 deletions.
22 changes: 19 additions & 3 deletions hw/snitch_cluster/src/snitch_cluster_wrapper.sv.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,8 @@ package ${cfg['pkg_name']};
${cfg['timing']['lat_sdotp']},
${cfg['timing']['lat_sdotp']},
${cfg['timing']['lat_sdotp']},
${cfg['timing']['lat_sdotp']}} // DOTP
${cfg['timing']['lat_sdotp']}}, // DOTP
'{0, 0, 0, 0, 0, 0} // SHFL TODO: Make configurable
},
UnitTypes: '{'{fpnew_pkg::MERGED,
fpnew_pkg::MERGED,
Expand Down Expand Up @@ -185,14 +186,29 @@ package ${cfg['pkg_name']};
fpnew_pkg::MERGED,
fpnew_pkg::MERGED,
fpnew_pkg::MERGED,
fpnew_pkg::MERGED}}, // DOTP
fpnew_pkg::MERGED}, // DOTP
% else:
'{fpnew_pkg::DISABLED,
fpnew_pkg::DISABLED,
fpnew_pkg::DISABLED,
fpnew_pkg::DISABLED,
fpnew_pkg::DISABLED,
fpnew_pkg::DISABLED}}, // DOTP
fpnew_pkg::DISABLED}, // DOTP
% endif
% if c["xfvec"]:
'{fpnew_pkg::MERGED,
fpnew_pkg::MERGED,
fpnew_pkg::MERGED,
fpnew_pkg::MERGED,
fpnew_pkg::MERGED,
fpnew_pkg::MERGED}}, // SHFL
% else:
'{fpnew_pkg::DISABLED,
fpnew_pkg::DISABLED,
fpnew_pkg::DISABLED,
fpnew_pkg::DISABLED,
fpnew_pkg::DISABLED,
fpnew_pkg::DISABLED}}, // SHFL
% endif
PipeConfig: fpnew_pkg::${cfg['timing']['fpu_pipe_config']}
}${',\n' if not loop.last else '\n'}\
Expand Down

0 comments on commit 521ecb2

Please sign in to comment.