From cdc2a4438b771e3ab1b1f2f18986a1eb63a8706a Mon Sep 17 00:00:00 2001 From: luarss <39641663+luarss@users.noreply.github.com> Date: Tue, 2 Apr 2024 15:39:03 +0000 Subject: [PATCH 01/13] update aes and cts scripts for disabling eqy check Signed-off-by: luarss <39641663+luarss@users.noreply.github.com> --- flow/designs/asap7/aes-block/autotuner.json | 12 ++------- flow/designs/asap7/aes/autotuner.json | 28 ++++++++------------- flow/scripts/cts.tcl | 4 +-- 3 files changed, 14 insertions(+), 30 deletions(-) diff --git a/flow/designs/asap7/aes-block/autotuner.json b/flow/designs/asap7/aes-block/autotuner.json index 2afdbf2874..8087963ae2 100644 --- a/flow/designs/asap7/aes-block/autotuner.json +++ b/flow/designs/asap7/aes-block/autotuner.json @@ -11,8 +11,8 @@ "CORE_UTILIZATION": { "type": "int", "minmax": [ - 30, - 100 + 0, + 20 ], "step": 1 }, @@ -64,14 +64,6 @@ ], "step": 0 }, - "_PINS_DISTANCE": { - "type": "int", - "minmax": [ - 1, - 4 - ], - "step": 1 - }, "CTS_CLUSTER_SIZE": { "type": "int", "minmax": [ diff --git a/flow/designs/asap7/aes/autotuner.json b/flow/designs/asap7/aes/autotuner.json index 2afdbf2874..7881371107 100644 --- a/flow/designs/asap7/aes/autotuner.json +++ b/flow/designs/asap7/aes/autotuner.json @@ -1,4 +1,12 @@ { + "EQUIVALENCE_CHECK": { + "type": "int", + "minmax": [ + 0, + 0 + ], + "step": 1 + }, "_SDC_FILE_PATH": "constraint.sdc", "_SDC_CLK_PERIOD": { "type": "float", @@ -12,7 +20,7 @@ "type": "int", "minmax": [ 30, - 100 + 40 ], "step": 1 }, @@ -56,23 +64,7 @@ ], "step": 0 }, - "PLACE_DENSITY_LB_ADDON": { - "type": "float", - "minmax": [ - 0.0, - 0.99 - ], - "step": 0 - }, - "_PINS_DISTANCE": { - "type": "int", - "minmax": [ - 1, - 4 - ], - "step": 1 - }, - "CTS_CLUSTER_SIZE": { + "CTS_CLUSTER_SIZE": { "type": "int", "minmax": [ 10, diff --git a/flow/scripts/cts.tcl b/flow/scripts/cts.tcl index d941ca5010..0ce2a7745e 100644 --- a/flow/scripts/cts.tcl +++ b/flow/scripts/cts.tcl @@ -78,14 +78,14 @@ append_env_var additional_args TNS_END_PERCENT -repair_tns 1 append_env_var additional_args SKIP_PIN_SWAP -skip_pin_swap 0 append_env_var additional_args SKIP_GATE_CLONING -skip_gate_cloning 0 -if { [info exists ::env(EQUIVALENCE_CHECK)] } { +if {[info exists ::env(EQUIVALENCE_CHECK)] && $::env(EQUIVALENCE_CHECK) == 1} { write_eqy_verilog 4_before_rsz.v } puts "repair_timing [join $additional_args " "]" repair_timing {*}$additional_args -if { [info exists ::env(EQUIVALENCE_CHECK)] } { +if {[info exists ::env(EQUIVALENCE_CHECK)] && $::env(EQUIVALENCE_CHECK) == 1} { run_equivalence_test } From edf2e9e08bb738dcad567e8eb814b305036285d4 Mon Sep 17 00:00:00 2001 From: luarss <39641663+luarss@users.noreply.github.com> Date: Sun, 7 Apr 2024 06:52:22 +0000 Subject: [PATCH 02/13] add config file checks Signed-off-by: luarss <39641663+luarss@users.noreply.github.com> --- tools/AutoTuner/src/autotuner/distributed.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/tools/AutoTuner/src/autotuner/distributed.py b/tools/AutoTuner/src/autotuner/distributed.py index d5b1ee21e7..76fa7f3662 100644 --- a/tools/AutoTuner/src/autotuner/distributed.py +++ b/tools/AutoTuner/src/autotuner/distributed.py @@ -290,8 +290,12 @@ def read_tune_ax(name, this): dict_["value_type"] = "float" return dict_ - with open(file_name) as file: - data = json.load(file) + # Check file exists and whether it is a valid JSON file. + assert os.path.isfile(file_name), f'File {file_name} not found.' + try: + with open(file_name) as file: data = json.load(file) + except json.JSONDecodeError: + raise ValueError(f"Invalid JSON file: {file_name}") sdc_file = '' fr_file = '' if args.mode == 'tune' and args.algorithm == 'ax': From 575fe364a4a404e4352a2dc371f3fbcd80de4d0b Mon Sep 17 00:00:00 2001 From: luarss <39641663+luarss@users.noreply.github.com> Date: Sun, 7 Apr 2024 11:30:09 +0000 Subject: [PATCH 03/13] asap7-jpeg stable autotunerr Signed-off-by: luarss <39641663+luarss@users.noreply.github.com> --- flow/designs/asap7/jpeg/autotuner.json | 38 ++++++++------------------ 1 file changed, 11 insertions(+), 27 deletions(-) diff --git a/flow/designs/asap7/jpeg/autotuner.json b/flow/designs/asap7/jpeg/autotuner.json index 9a6c9f1736..d0564d25a7 100644 --- a/flow/designs/asap7/jpeg/autotuner.json +++ b/flow/designs/asap7/jpeg/autotuner.json @@ -1,5 +1,5 @@ { - "_SDC_FILE_PATH": "constraint.sdc", + "_SDC_FILE_PATH": "jpeg_encoder15_7nm.sdc", "_SDC_CLK_PERIOD": { "type": "float", "minmax": [ @@ -8,21 +8,21 @@ ], "step": 0 }, - "CORE_UTILIZATION": { + "EQUIVALENCE_CHECK": { "type": "int", "minmax": [ - 30, - 100 + 0, + 0 ], - "step": 1 + "step": 0 }, - "CORE_ASPECT_RATIO": { - "type": "float", + "CORE_UTILIZATION": { + "type": "int", "minmax": [ - 0.5, - 2.0 + 0, + 30 ], - "step": 0 + "step": 1 }, "CORE_MARGIN": { "type": "int", @@ -48,30 +48,14 @@ ], "step": 1 }, - "_FR_LAYER_ADJUST": { - "type": "float", - "minmax": [ - 0.1, - 0.7 - ], - "step": 0 - }, "PLACE_DENSITY_LB_ADDON": { "type": "float", "minmax": [ 0.0, - 0.99 + 0.6 ], "step": 0 }, - "_PINS_DISTANCE": { - "type": "int", - "minmax": [ - 1, - 4 - ], - "step": 1 - }, "CTS_CLUSTER_SIZE": { "type": "int", "minmax": [ From 74ac6dca9e68d10f654f8f181017ba1407cf765a Mon Sep 17 00:00:00 2001 From: luarss <39641663+luarss@users.noreply.github.com> Date: Sun, 7 Apr 2024 13:36:06 +0000 Subject: [PATCH 04/13] asap7 ibex stable Signed-off-by: luarss <39641663+luarss@users.noreply.github.com> --- flow/designs/asap7/ibex/autotuner.json | 20 ++------------------ 1 file changed, 2 insertions(+), 18 deletions(-) diff --git a/flow/designs/asap7/ibex/autotuner.json b/flow/designs/asap7/ibex/autotuner.json index 76defb30f8..3c4063a3e1 100644 --- a/flow/designs/asap7/ibex/autotuner.json +++ b/flow/designs/asap7/ibex/autotuner.json @@ -3,7 +3,7 @@ "_SDC_CLK_PERIOD": { "type": "float", "minmax": [ - 100, + 1700, 2000 ], "step": 0 @@ -12,7 +12,7 @@ "type": "int", "minmax": [ 25, - 100 + 50 ], "step": 1 }, @@ -48,14 +48,6 @@ ], "step": 1 }, - "_FR_LAYER_ADJUST": { - "type": "float", - "minmax": [ - 0.1, - 0.7 - ], - "step": 0 - }, "PLACE_DENSITY_LB_ADDON": { "type": "float", "minmax": [ @@ -64,14 +56,6 @@ ], "step": 0 }, - "_PINS_DISTANCE": { - "type": "int", - "minmax": [ - 1, - 1 - ], - "step": 0 - }, "CTS_CLUSTER_SIZE": { "type": "int", "minmax": [ From eab8ae08ab35953ea58411a7e51764a58a57bc91 Mon Sep 17 00:00:00 2001 From: luarss <39641663+luarss@users.noreply.github.com> Date: Sun, 7 Apr 2024 14:12:31 +0000 Subject: [PATCH 05/13] asap7 mock-array stable Signed-off-by: luarss <39641663+luarss@users.noreply.github.com> --- flow/designs/asap7/mock-array/autotuner.json | 24 -------------------- 1 file changed, 24 deletions(-) diff --git a/flow/designs/asap7/mock-array/autotuner.json b/flow/designs/asap7/mock-array/autotuner.json index 6ed76526ed..155755b37b 100644 --- a/flow/designs/asap7/mock-array/autotuner.json +++ b/flow/designs/asap7/mock-array/autotuner.json @@ -8,14 +8,6 @@ ], "step": 0 }, - "CORE_UTILIZATION": { - "type": "int", - "minmax": [ - 5, - 100 - ], - "step": 1 - }, "CORE_ASPECT_RATIO": { "type": "float", "minmax": [ @@ -48,14 +40,6 @@ ], "step": 1 }, - "_FR_LAYER_ADJUST": { - "type": "float", - "minmax": [ - 0.1, - 0.7 - ], - "step": 0 - }, "PLACE_DENSITY_LB_ADDON": { "type": "float", "minmax": [ @@ -64,14 +48,6 @@ ], "step": 0 }, - "_PINS_DISTANCE": { - "type": "int", - "minmax": [ - 1, - 4 - ], - "step": 1 - }, "CTS_CLUSTER_SIZE": { "type": "int", "minmax": [ From 703240d8618c9c372e0c214d0068c8cc8788eeed Mon Sep 17 00:00:00 2001 From: luarss <39641663+luarss@users.noreply.github.com> Date: Sun, 7 Apr 2024 14:25:39 +0000 Subject: [PATCH 06/13] asap7 mock-alu stable Signed-off-by: luarss <39641663+luarss@users.noreply.github.com> --- flow/designs/asap7/mock-alu/autotuner.json | 24 ++++------------------ 1 file changed, 4 insertions(+), 20 deletions(-) diff --git a/flow/designs/asap7/mock-alu/autotuner.json b/flow/designs/asap7/mock-alu/autotuner.json index 6ed76526ed..8bb83c59a3 100644 --- a/flow/designs/asap7/mock-alu/autotuner.json +++ b/flow/designs/asap7/mock-alu/autotuner.json @@ -3,16 +3,16 @@ "_SDC_CLK_PERIOD": { "type": "float", "minmax": [ - 0.1, - 0.4 + 50, + 300 ], - "step": 0 + "step": 1 }, "CORE_UTILIZATION": { "type": "int", "minmax": [ 5, - 100 + 50 ], "step": 1 }, @@ -48,14 +48,6 @@ ], "step": 1 }, - "_FR_LAYER_ADJUST": { - "type": "float", - "minmax": [ - 0.1, - 0.7 - ], - "step": 0 - }, "PLACE_DENSITY_LB_ADDON": { "type": "float", "minmax": [ @@ -64,14 +56,6 @@ ], "step": 0 }, - "_PINS_DISTANCE": { - "type": "int", - "minmax": [ - 1, - 4 - ], - "step": 1 - }, "CTS_CLUSTER_SIZE": { "type": "int", "minmax": [ From 603dece991f9d41cff83d1772a1db330a19c3ba8 Mon Sep 17 00:00:00 2001 From: luarss <39641663+luarss@users.noreply.github.com> Date: Thu, 11 Apr 2024 00:48:24 +0000 Subject: [PATCH 07/13] Turn off EQY by default for autotuner Signed-off-by: luarss <39641663+luarss@users.noreply.github.com> --- flow/designs/asap7/aes/autotuner.json | 8 -------- flow/designs/asap7/jpeg/autotuner.json | 8 -------- tools/AutoTuner/src/autotuner/distributed.py | 1 + 3 files changed, 1 insertion(+), 16 deletions(-) diff --git a/flow/designs/asap7/aes/autotuner.json b/flow/designs/asap7/aes/autotuner.json index 7881371107..157061822e 100644 --- a/flow/designs/asap7/aes/autotuner.json +++ b/flow/designs/asap7/aes/autotuner.json @@ -1,12 +1,4 @@ { - "EQUIVALENCE_CHECK": { - "type": "int", - "minmax": [ - 0, - 0 - ], - "step": 1 - }, "_SDC_FILE_PATH": "constraint.sdc", "_SDC_CLK_PERIOD": { "type": "float", diff --git a/flow/designs/asap7/jpeg/autotuner.json b/flow/designs/asap7/jpeg/autotuner.json index d0564d25a7..b87fd21cc0 100644 --- a/flow/designs/asap7/jpeg/autotuner.json +++ b/flow/designs/asap7/jpeg/autotuner.json @@ -8,14 +8,6 @@ ], "step": 0 }, - "EQUIVALENCE_CHECK": { - "type": "int", - "minmax": [ - 0, - 0 - ], - "step": 0 - }, "CORE_UTILIZATION": { "type": "int", "minmax": [ diff --git a/tools/AutoTuner/src/autotuner/distributed.py b/tools/AutoTuner/src/autotuner/distributed.py index 76fa7f3662..74d97db537 100644 --- a/tools/AutoTuner/src/autotuner/distributed.py +++ b/tools/AutoTuner/src/autotuner/distributed.py @@ -491,6 +491,7 @@ def openroad(base_dir, parameters, flow_variant, path=''): make_command += f'make -C {base_dir}/flow DESIGN_CONFIG=designs/' make_command += f'{args.platform}/{args.design}/config.mk' make_command += f' FLOW_VARIANT={flow_variant} {parameters}' + make_command += f' EQUIVALENCE_CHECK=0' make_command += f' NPROC={args.openroad_threads} SHELL=bash' run_command(make_command, timeout=args.timeout, From 04e03cd7ff6310af0cb2b4248c59394951ac2a91 Mon Sep 17 00:00:00 2001 From: Jack <39641663+luarss@users.noreply.github.com> Date: Thu, 16 May 2024 02:36:26 +0000 Subject: [PATCH 08/13] temporary changes to aes,aes-block Signed-off-by: Jack <39641663+luarss@users.noreply.github.com> --- flow/designs/asap7/aes-block/autotuner.json | 16 +++++++++++---- flow/designs/asap7/aes/autotuner.json | 22 ++++++++++++++++++--- 2 files changed, 31 insertions(+), 7 deletions(-) diff --git a/flow/designs/asap7/aes-block/autotuner.json b/flow/designs/asap7/aes-block/autotuner.json index 8087963ae2..eb612caff7 100644 --- a/flow/designs/asap7/aes-block/autotuner.json +++ b/flow/designs/asap7/aes-block/autotuner.json @@ -3,7 +3,7 @@ "_SDC_CLK_PERIOD": { "type": "float", "minmax": [ - 100, + 500, 600 ], "step": 0 @@ -12,7 +12,7 @@ "type": "int", "minmax": [ 0, - 20 + 5 ], "step": 1 }, @@ -51,8 +51,8 @@ "_FR_LAYER_ADJUST": { "type": "float", "minmax": [ - 0.1, - 0.7 + 0.0, + 0.1 ], "step": 0 }, @@ -64,6 +64,14 @@ ], "step": 0 }, + "_PINS_DISTANCE": { + "type": "int", + "minmax": [ + 1, + 1 + ], + "step": 0 + }, "CTS_CLUSTER_SIZE": { "type": "int", "minmax": [ diff --git a/flow/designs/asap7/aes/autotuner.json b/flow/designs/asap7/aes/autotuner.json index 157061822e..11c5239fa4 100644 --- a/flow/designs/asap7/aes/autotuner.json +++ b/flow/designs/asap7/aes/autotuner.json @@ -11,8 +11,8 @@ "CORE_UTILIZATION": { "type": "int", "minmax": [ - 30, - 40 + 10, + 20 ], "step": 1 }, @@ -52,10 +52,26 @@ "type": "float", "minmax": [ 0.1, - 0.7 + 0.3 ], "step": 0 }, + "PLACE_DENSITY_LB_ADDON": { + "type": "float", + "minmax": [ + 0.0, + 0.99 + ], + "step": 0 + }, + "_PINS_DISTANCE": { + "type": "int", + "minmax": [ + 1, + 1 + ], + "step": 1 + }, "CTS_CLUSTER_SIZE": { "type": "int", "minmax": [ From 64bb400017eece42fc283c16bbb9456e2e6066f5 Mon Sep 17 00:00:00 2001 From: Jack Luar <39641663+luarss@users.noreply.github.com> Date: Sun, 19 May 2024 04:56:56 +0000 Subject: [PATCH 09/13] working aes/aes-block Signed-off-by: Jack Luar <39641663+luarss@users.noreply.github.com> --- flow/designs/asap7/aes-block/autotuner.json | 18 +++++------------ flow/designs/asap7/aes/autotuner.json | 22 ++++++++++----------- 2 files changed, 16 insertions(+), 24 deletions(-) diff --git a/flow/designs/asap7/aes-block/autotuner.json b/flow/designs/asap7/aes-block/autotuner.json index eb612caff7..a69074edfd 100644 --- a/flow/designs/asap7/aes-block/autotuner.json +++ b/flow/designs/asap7/aes-block/autotuner.json @@ -3,7 +3,7 @@ "_SDC_CLK_PERIOD": { "type": "float", "minmax": [ - 500, + 100, 600 ], "step": 0 @@ -12,7 +12,7 @@ "type": "int", "minmax": [ 0, - 5 + 20 ], "step": 1 }, @@ -51,11 +51,11 @@ "_FR_LAYER_ADJUST": { "type": "float", "minmax": [ - 0.0, - 0.1 + 0.1, + 0.3 ], "step": 0 - }, + }, "PLACE_DENSITY_LB_ADDON": { "type": "float", "minmax": [ @@ -64,14 +64,6 @@ ], "step": 0 }, - "_PINS_DISTANCE": { - "type": "int", - "minmax": [ - 1, - 1 - ], - "step": 0 - }, "CTS_CLUSTER_SIZE": { "type": "int", "minmax": [ diff --git a/flow/designs/asap7/aes/autotuner.json b/flow/designs/asap7/aes/autotuner.json index 11c5239fa4..27f6eb7c7f 100644 --- a/flow/designs/asap7/aes/autotuner.json +++ b/flow/designs/asap7/aes/autotuner.json @@ -3,24 +3,24 @@ "_SDC_CLK_PERIOD": { "type": "float", "minmax": [ - 100, - 600 + 300, + 400 ], "step": 0 }, "CORE_UTILIZATION": { "type": "int", "minmax": [ - 10, - 20 + 0, + 5 ], "step": 1 }, "CORE_ASPECT_RATIO": { "type": "float", "minmax": [ - 0.5, - 2.0 + 0.9, + 1.1 ], "step": 0 }, @@ -35,7 +35,7 @@ "CELL_PAD_IN_SITES_GLOBAL_PLACEMENT": { "type": "int", "minmax": [ - 0, + 1, 5 ], "step": 1 @@ -43,7 +43,7 @@ "CELL_PAD_IN_SITES_DETAIL_PLACEMENT": { "type": "int", "minmax": [ - 0, + 1, 5 ], "step": 1 @@ -51,8 +51,8 @@ "_FR_LAYER_ADJUST": { "type": "float", "minmax": [ - 0.1, - 0.3 + 0.0, + 0.1 ], "step": 0 }, @@ -60,7 +60,7 @@ "type": "float", "minmax": [ 0.0, - 0.99 + 0.1 ], "step": 0 }, From 11953fce5ae27ec887089419f1fbbc4e2d163f05 Mon Sep 17 00:00:00 2001 From: Jack Luar <39641663+luarss@users.noreply.github.com> Date: Sun, 19 May 2024 17:18:55 +0000 Subject: [PATCH 10/13] working ibex mock-alu Signed-off-by: Jack Luar <39641663+luarss@users.noreply.github.com> --- flow/designs/asap7/ibex/autotuner.json | 32 ++++++++++++++++------ flow/designs/asap7/mock-alu/autotuner.json | 28 +++++++++++++++---- 2 files changed, 46 insertions(+), 14 deletions(-) diff --git a/flow/designs/asap7/ibex/autotuner.json b/flow/designs/asap7/ibex/autotuner.json index 3c4063a3e1..b6637fd356 100644 --- a/flow/designs/asap7/ibex/autotuner.json +++ b/flow/designs/asap7/ibex/autotuner.json @@ -3,7 +3,7 @@ "_SDC_CLK_PERIOD": { "type": "float", "minmax": [ - 1700, + 1800, 2000 ], "step": 0 @@ -11,16 +11,16 @@ "CORE_UTILIZATION": { "type": "int", "minmax": [ - 25, - 50 + 5, + 10 ], "step": 1 }, "CORE_ASPECT_RATIO": { "type": "float", "minmax": [ - 0.5, - 2.0 + 0.9, + 1.1 ], "step": 0 }, @@ -35,7 +35,7 @@ "CELL_PAD_IN_SITES_GLOBAL_PLACEMENT": { "type": "int", "minmax": [ - 0, + 3, 5 ], "step": 1 @@ -43,19 +43,35 @@ "CELL_PAD_IN_SITES_DETAIL_PLACEMENT": { "type": "int", "minmax": [ - 0, + 3, 5 ], "step": 1 }, + "_FR_LAYER_ADJUST": { + "type": "float", + "minmax": [ + 0.0, + 0.1 + ], + "step": 0 + }, "PLACE_DENSITY_LB_ADDON": { "type": "float", "minmax": [ 0.0, - 0.99 + 0.1 ], "step": 0 }, + "_PINS_DISTANCE": { + "type": "int", + "minmax": [ + 1, + 1 + ], + "step": 1 + }, "CTS_CLUSTER_SIZE": { "type": "int", "minmax": [ diff --git a/flow/designs/asap7/mock-alu/autotuner.json b/flow/designs/asap7/mock-alu/autotuner.json index 8bb83c59a3..7f4a970009 100644 --- a/flow/designs/asap7/mock-alu/autotuner.json +++ b/flow/designs/asap7/mock-alu/autotuner.json @@ -12,15 +12,15 @@ "type": "int", "minmax": [ 5, - 50 + 40 ], "step": 1 }, "CORE_ASPECT_RATIO": { "type": "float", "minmax": [ - 0.5, - 2.0 + 0.9, + 1.1 ], "step": 0 }, @@ -35,7 +35,7 @@ "CELL_PAD_IN_SITES_GLOBAL_PLACEMENT": { "type": "int", "minmax": [ - 0, + 1, 5 ], "step": 1 @@ -43,19 +43,35 @@ "CELL_PAD_IN_SITES_DETAIL_PLACEMENT": { "type": "int", "minmax": [ - 0, + 1, 5 ], "step": 1 }, + "_FR_LAYER_ADJUST": { + "type": "float", + "minmax": [ + 0.0, + 0.1 + ], + "step": 0 + }, "PLACE_DENSITY_LB_ADDON": { "type": "float", "minmax": [ 0.0, - 0.99 + 0.1 ], "step": 0 }, + "_PINS_DISTANCE": { + "type": "int", + "minmax": [ + 1, + 1 + ], + "step": 1 + }, "CTS_CLUSTER_SIZE": { "type": "int", "minmax": [ From a17ff33349c862a39f9806fab88d55a9753c5f1f Mon Sep 17 00:00:00 2001 From: Jack Luar <39641663+luarss@users.noreply.github.com> Date: Mon, 20 May 2024 17:15:35 +0000 Subject: [PATCH 11/13] working gcd and jpeg Signed-off-by: Jack Luar <39641663+luarss@users.noreply.github.com> --- flow/designs/asap7/gcd/autotuner.json | 48 ++++++++++++++++++++++++++ flow/designs/asap7/jpeg/autotuner.json | 18 +++++++++- 2 files changed, 65 insertions(+), 1 deletion(-) diff --git a/flow/designs/asap7/gcd/autotuner.json b/flow/designs/asap7/gcd/autotuner.json index 11339d7f89..4eecfdbf38 100644 --- a/flow/designs/asap7/gcd/autotuner.json +++ b/flow/designs/asap7/gcd/autotuner.json @@ -24,6 +24,38 @@ ], "step": 0 }, + "CORE_MARGIN": { + "type": "int", + "minmax": [ + 2, + 2 + ], + "step": 0 + }, + "CELL_PAD_IN_SITES_GLOBAL_PLACEMENT": { + "type": "int", + "minmax": [ + 0, + 5 + ], + "step": 1 + }, + "CELL_PAD_IN_SITES_DETAIL_PLACEMENT": { + "type": "int", + "minmax": [ + 0, + 5 + ], + "step": 1 + }, + "_FR_LAYER_ADJUST": { + "type": "float", + "minmax": [ + 0.1, + 0.3 + ], + "step": 0 + }, "PLACE_DENSITY_LB_ADDON": { "type": "float", "minmax": [ @@ -32,6 +64,22 @@ ], "step": 0 }, + "CTS_CLUSTER_SIZE": { + "type": "int", + "minmax": [ + 10, + 200 + ], + "step": 1 + }, + "CTS_CLUSTER_DIAMETER": { + "type": "int", + "minmax": [ + 20, + 400 + ], + "step": 1 + }, "_FR_FILE_PATH": "", "_FR_GR_OVERFLOW": { "type": "int", diff --git a/flow/designs/asap7/jpeg/autotuner.json b/flow/designs/asap7/jpeg/autotuner.json index b87fd21cc0..b4e95a2169 100644 --- a/flow/designs/asap7/jpeg/autotuner.json +++ b/flow/designs/asap7/jpeg/autotuner.json @@ -12,7 +12,7 @@ "type": "int", "minmax": [ 0, - 30 + 20 ], "step": 1 }, @@ -24,6 +24,14 @@ ], "step": 0 }, + "CORE_ASPECT_RATIO": { + "type": "float", + "minmax": [ + 0.9, + 1.1 + ], + "step": 0 + }, "CELL_PAD_IN_SITES_GLOBAL_PLACEMENT": { "type": "int", "minmax": [ @@ -40,6 +48,14 @@ ], "step": 1 }, + "_FR_LAYER_ADJUST": { + "type": "float", + "minmax": [ + 0.1, + 0.3 + ], + "step": 0 + }, "PLACE_DENSITY_LB_ADDON": { "type": "float", "minmax": [ From d49c45191f4f9ce938c86bf08d4895bf339c3004 Mon Sep 17 00:00:00 2001 From: Jack Luar <39641663+luarss@users.noreply.github.com> Date: Thu, 23 May 2024 17:31:31 +0000 Subject: [PATCH 12/13] Remove _FR_GR_OVERFLOW Signed-off-by: Jack Luar <39641663+luarss@users.noreply.github.com> --- flow/designs/asap7/aes-block/autotuner.json | 10 +--------- flow/designs/asap7/aes/autotuner.json | 10 +--------- flow/designs/asap7/gcd/autotuner.json | 10 +--------- flow/designs/asap7/ibex/autotuner.json | 10 +--------- flow/designs/asap7/jpeg/autotuner.json | 10 +--------- flow/designs/asap7/mock-alu/autotuner.json | 10 +--------- flow/designs/asap7/mock-array/autotuner.json | 10 +--------- 7 files changed, 7 insertions(+), 63 deletions(-) diff --git a/flow/designs/asap7/aes-block/autotuner.json b/flow/designs/asap7/aes-block/autotuner.json index a69074edfd..5aee291ca1 100644 --- a/flow/designs/asap7/aes-block/autotuner.json +++ b/flow/designs/asap7/aes-block/autotuner.json @@ -80,13 +80,5 @@ ], "step": 1 }, - "_FR_FILE_PATH": "", - "_FR_GR_OVERFLOW": { - "type": "int", - "minmax": [ - 1, - 1 - ], - "step": 0 - } + "_FR_FILE_PATH": "" } diff --git a/flow/designs/asap7/aes/autotuner.json b/flow/designs/asap7/aes/autotuner.json index 27f6eb7c7f..8430818c92 100644 --- a/flow/designs/asap7/aes/autotuner.json +++ b/flow/designs/asap7/aes/autotuner.json @@ -88,13 +88,5 @@ ], "step": 1 }, - "_FR_FILE_PATH": "", - "_FR_GR_OVERFLOW": { - "type": "int", - "minmax": [ - 1, - 1 - ], - "step": 0 - } + "_FR_FILE_PATH": "" } diff --git a/flow/designs/asap7/gcd/autotuner.json b/flow/designs/asap7/gcd/autotuner.json index 4eecfdbf38..bdd6b6edd1 100644 --- a/flow/designs/asap7/gcd/autotuner.json +++ b/flow/designs/asap7/gcd/autotuner.json @@ -80,13 +80,5 @@ ], "step": 1 }, - "_FR_FILE_PATH": "", - "_FR_GR_OVERFLOW": { - "type": "int", - "minmax": [ - 1, - 1 - ], - "step": 0 - } + "_FR_FILE_PATH": "" } diff --git a/flow/designs/asap7/ibex/autotuner.json b/flow/designs/asap7/ibex/autotuner.json index b6637fd356..08d679909b 100644 --- a/flow/designs/asap7/ibex/autotuner.json +++ b/flow/designs/asap7/ibex/autotuner.json @@ -88,13 +88,5 @@ ], "step": 1 }, - "_FR_FILE_PATH": "", - "_FR_GR_OVERFLOW": { - "type": "int", - "minmax": [ - 1, - 1 - ], - "step": 0 - } + "_FR_FILE_PATH": "" } diff --git a/flow/designs/asap7/jpeg/autotuner.json b/flow/designs/asap7/jpeg/autotuner.json index b4e95a2169..f495834111 100644 --- a/flow/designs/asap7/jpeg/autotuner.json +++ b/flow/designs/asap7/jpeg/autotuner.json @@ -80,13 +80,5 @@ ], "step": 1 }, - "_FR_FILE_PATH": "", - "_FR_GR_OVERFLOW": { - "type": "int", - "minmax": [ - 1, - 1 - ], - "step": 0 - } + "_FR_FILE_PATH": "" } diff --git a/flow/designs/asap7/mock-alu/autotuner.json b/flow/designs/asap7/mock-alu/autotuner.json index 7f4a970009..4b554b69c6 100644 --- a/flow/designs/asap7/mock-alu/autotuner.json +++ b/flow/designs/asap7/mock-alu/autotuner.json @@ -88,13 +88,5 @@ ], "step": 1 }, - "_FR_FILE_PATH": "", - "_FR_GR_OVERFLOW": { - "type": "int", - "minmax": [ - 1, - 1 - ], - "step": 0 - } + "_FR_FILE_PATH": "" } diff --git a/flow/designs/asap7/mock-array/autotuner.json b/flow/designs/asap7/mock-array/autotuner.json index 155755b37b..3394224a49 100644 --- a/flow/designs/asap7/mock-array/autotuner.json +++ b/flow/designs/asap7/mock-array/autotuner.json @@ -64,13 +64,5 @@ ], "step": 1 }, - "_FR_FILE_PATH": "", - "_FR_GR_OVERFLOW": { - "type": "int", - "minmax": [ - 1, - 1 - ], - "step": 0 - } + "_FR_FILE_PATH": "" } From 6e3f85aaf32bb02c5536c484403086ca3e7830ab Mon Sep 17 00:00:00 2001 From: Jack Luar <39641663+luarss@users.noreply.github.com> Date: Sun, 26 May 2024 06:37:23 +0000 Subject: [PATCH 13/13] working mock-array Signed-off-by: Jack Luar <39641663+luarss@users.noreply.github.com> --- flow/designs/asap7/mock-array/autotuner.json | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/flow/designs/asap7/mock-array/autotuner.json b/flow/designs/asap7/mock-array/autotuner.json index 3394224a49..cb13192a33 100644 --- a/flow/designs/asap7/mock-array/autotuner.json +++ b/flow/designs/asap7/mock-array/autotuner.json @@ -3,8 +3,8 @@ "_SDC_CLK_PERIOD": { "type": "float", "minmax": [ - 0.1, - 0.4 + 200, + 400 ], "step": 0 }, @@ -40,6 +40,14 @@ ], "step": 1 }, + "_FR_LAYER_ADJUST": { + "type": "float", + "minmax": [ + 0.1, + 0.3 + ], + "step": 0 + }, "PLACE_DENSITY_LB_ADDON": { "type": "float", "minmax": [ @@ -64,5 +72,5 @@ ], "step": 1 }, - "_FR_FILE_PATH": "" -} + "_FR_FILE_PATH": "fastroute.tcl" +} \ No newline at end of file