Skip to content

Commit

Permalink
HW to give North I/O tiles SB
Browse files Browse the repository at this point in the history
  • Loading branch information
mcoduoza committed Dec 5, 2024
1 parent df2e802 commit f9d1b18
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions aha/util/regress.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ def gen_garnet(width, height, dense_only=False, using_matrix_unit=False, mu_data
buildkite_args.append("--using-matrix-unit")
buildkite_args.append("--mu-datawidth")
buildkite_args.append(str(mu_datawidth))
buildkite_args.append("--give-north-io-sbs")

buildkite_call(buildkite_args)

Expand Down Expand Up @@ -133,6 +134,7 @@ def generate_sparse_bitstreams(sparse_tests, width, height, seed_flow, data_tile
build_tb_cmd.append("--opal-workaround")
if using_matrix_unit:
build_tb_cmd.append("--using-matrix-unit")
build_tb_cmd.append("--give-north-io-sbs")
buildkite_call(
build_tb_cmd,
env=env_vars,
Expand Down Expand Up @@ -166,6 +168,7 @@ def generate_sparse_bitstreams(sparse_tests, width, height, seed_flow, data_tile
build_tb_cmd.append("--opal-workaround")
if using_matrix_unit:
build_tb_cmd.append("--using-matrix-unit")
build_tb_cmd.append("--give-north-io-sbs")
buildkite_call(
build_tb_cmd,
env=env_vars,
Expand Down Expand Up @@ -342,6 +345,7 @@ def test_dense_app(test, width, height, env_parameters, extra_args, layer=None,

if using_matrix_unit:
buildkite_args.append("--using-matrix-unit")
buildkite_args.append("--give-north-io-sbs")
env_vars["WEST_IN_IO_SIDES"] = "1"
env_vars["USING_MATRIX_UNIT"] = "1"
env_vars["OC_0"] = str(2*cgra_height)
Expand Down Expand Up @@ -431,6 +435,7 @@ def test_hardcoded_dense_app(test, width, height, env_parameters, extra_args, la

if using_matrix_unit:
buildkite_args.append("--using-matrix-unit")
buildkite_args.append("--give-north-io-sbs")
env_vars["WEST_IN_IO_SIDES"] = "1"
env_vars["USING_MATRIX_UNIT"] = "1"
env_vars["OC_0"] = str(2*cgra_height)
Expand Down
2 changes: 1 addition & 1 deletion canal
2 changes: 1 addition & 1 deletion garnet

0 comments on commit f9d1b18

Please sign in to comment.