From c3c1b482922bc519f5c9e66ea8acf4ac4a299f1f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=98yvind=20Harboe?= Date: Sun, 13 Oct 2024 14:50:11 +0200 Subject: [PATCH] example: density sweep MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Øyvind Harboe --- BUILD | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/BUILD b/BUILD index 42151b5e..c86c2667 100644 --- a/BUILD +++ b/BUILD @@ -136,6 +136,30 @@ orfs_flow( verilog_files = LB_VERILOG_FILES, ) +# Use-case: +# +# bazel build --keep_going $(bazel query //:* | grep lb_32x128_density.*place\$) +DENSITY_SWEEP = [ + 0.70, + 0.75, + 0.80, +] + +# buildifier: disable=duplicated-name +[ + orfs_flow( + name = "lb_32x128", + abstract_stage = "place", + arguments = LB_ARGS | { + "PLACE_DENSITY": str(density), + }, + stage_sources = LB_STAGE_SOURCES, + variant = "density_" + str(density), + verilog_files = LB_VERILOG_FILES, + ) + for density in DENSITY_SWEEP +] + orfs_flow( name = "L1MetadataArray", abstract_stage = "cts",