From 2b15289daf76fbc8a5bef21965243ce8e63eeb27 Mon Sep 17 00:00:00 2001 From: Eren Dogan Date: Mon, 24 Jul 2023 19:21:31 -0700 Subject: [PATCH] Enable power routing for failing FreePDK45 tests (VLSIDA/PrivateRAM#97) --- compiler/tests/20_sram_1bank_2mux_1rw_1r_spare_cols_test.py | 3 --- compiler/tests/20_sram_1bank_2mux_1w_1r_spare_cols_test.py | 3 --- compiler/tests/20_sram_1bank_2mux_global_test.py | 3 --- compiler/tests/20_sram_1bank_2mux_wmask_spare_cols_test.py | 3 --- compiler/tests/20_sram_1bank_2mux_wmask_test.py | 3 --- compiler/tests/20_sram_1bank_4mux_1rw_1r_test.py | 3 --- compiler/tests/20_sram_1bank_4mux_test.py | 3 --- compiler/tests/20_sram_1bank_8mux_1rw_1r_test.py | 3 --- 8 files changed, 24 deletions(-) diff --git a/compiler/tests/20_sram_1bank_2mux_1rw_1r_spare_cols_test.py b/compiler/tests/20_sram_1bank_2mux_1rw_1r_spare_cols_test.py index 704204dd..71d4a3eb 100755 --- a/compiler/tests/20_sram_1bank_2mux_1rw_1r_spare_cols_test.py +++ b/compiler/tests/20_sram_1bank_2mux_1rw_1r_spare_cols_test.py @@ -23,9 +23,6 @@ class sram_1bank_2mux_1rw_1r_spare_cols_test(openram_test): openram.init_openram(config_file, is_unit_test=True) from openram import sram_config - if OPTS.tech_name == "freepdk45": - OPTS.route_supplies = False - OPTS.num_rw_ports = 1 OPTS.num_r_ports = 1 OPTS.num_w_ports = 0 diff --git a/compiler/tests/20_sram_1bank_2mux_1w_1r_spare_cols_test.py b/compiler/tests/20_sram_1bank_2mux_1w_1r_spare_cols_test.py index ae5ee11b..ce3fef2a 100755 --- a/compiler/tests/20_sram_1bank_2mux_1w_1r_spare_cols_test.py +++ b/compiler/tests/20_sram_1bank_2mux_1w_1r_spare_cols_test.py @@ -23,9 +23,6 @@ class sram_1bank_2mux_1w_1r_spare_cols_test(openram_test): openram.init_openram(config_file, is_unit_test=True) from openram import sram_config - if OPTS.tech_name == "freepdk45": - OPTS.route_supplies = False - OPTS.num_rw_ports = 0 OPTS.num_w_ports = 1 OPTS.num_r_ports = 1 diff --git a/compiler/tests/20_sram_1bank_2mux_global_test.py b/compiler/tests/20_sram_1bank_2mux_global_test.py index f8b73aca..01d831ee 100755 --- a/compiler/tests/20_sram_1bank_2mux_global_test.py +++ b/compiler/tests/20_sram_1bank_2mux_global_test.py @@ -31,9 +31,6 @@ class sram_1bank_2mux_global_test(openram_test): num_spare_rows = 0 num_spare_cols = 0 - if OPTS.tech_name == "freepdk45": - OPTS.route_supplies = False - c = sram_config(word_size=8, num_words=32, num_banks=1, diff --git a/compiler/tests/20_sram_1bank_2mux_wmask_spare_cols_test.py b/compiler/tests/20_sram_1bank_2mux_wmask_spare_cols_test.py index 419390a5..0f8a1d7f 100755 --- a/compiler/tests/20_sram_1bank_2mux_wmask_spare_cols_test.py +++ b/compiler/tests/20_sram_1bank_2mux_wmask_spare_cols_test.py @@ -30,9 +30,6 @@ class sram_1bank_2mux_wmask_spare_cols_test(openram_test): num_spare_rows = 0 num_spare_cols = 0 - if OPTS.tech_name == "freepdk45": - OPTS.route_supplies = False - c = sram_config(word_size=8, write_size=4, num_words=64, diff --git a/compiler/tests/20_sram_1bank_2mux_wmask_test.py b/compiler/tests/20_sram_1bank_2mux_wmask_test.py index 05d89040..cc3c2322 100755 --- a/compiler/tests/20_sram_1bank_2mux_wmask_test.py +++ b/compiler/tests/20_sram_1bank_2mux_wmask_test.py @@ -30,9 +30,6 @@ class sram_1bank_2mux_wmask_test(openram_test): num_spare_rows = 0 num_spare_cols = 0 - if OPTS.tech_name == "freepdk45": - OPTS.route_supplies = False - c = sram_config(word_size=8, write_size=4, num_words=64, diff --git a/compiler/tests/20_sram_1bank_4mux_1rw_1r_test.py b/compiler/tests/20_sram_1bank_4mux_1rw_1r_test.py index 1ab0d745..ffe7a673 100755 --- a/compiler/tests/20_sram_1bank_4mux_1rw_1r_test.py +++ b/compiler/tests/20_sram_1bank_4mux_1rw_1r_test.py @@ -23,9 +23,6 @@ class sram_1bank_4mux_1rw_1r_test(openram_test): openram.init_openram(config_file, is_unit_test=True) from openram import sram_config - if OPTS.tech_name == "freepdk45": - OPTS.route_supplies = False - OPTS.num_rw_ports = 1 OPTS.num_r_ports = 1 OPTS.num_w_ports = 0 diff --git a/compiler/tests/20_sram_1bank_4mux_test.py b/compiler/tests/20_sram_1bank_4mux_test.py index 15f9f31d..3f1f0886 100755 --- a/compiler/tests/20_sram_1bank_4mux_test.py +++ b/compiler/tests/20_sram_1bank_4mux_test.py @@ -30,9 +30,6 @@ class sram_1bank_4mux_test(openram_test): num_spare_rows = 0 num_spare_cols = 0 - if OPTS.tech_name == "freepdk45": - OPTS.route_supplies = False - c = sram_config(word_size=4, num_words=64, num_banks=1, diff --git a/compiler/tests/20_sram_1bank_8mux_1rw_1r_test.py b/compiler/tests/20_sram_1bank_8mux_1rw_1r_test.py index 7ce6ca8d..c95fec84 100755 --- a/compiler/tests/20_sram_1bank_8mux_1rw_1r_test.py +++ b/compiler/tests/20_sram_1bank_8mux_1rw_1r_test.py @@ -23,9 +23,6 @@ class sram_1bank_8mux_1rw_1r_test(openram_test): openram.init_openram(config_file, is_unit_test=True) from openram import sram_config - if OPTS.tech_name == "freepdk45": - OPTS.route_supplies = False - OPTS.num_rw_ports = 1 OPTS.num_r_ports = 1 OPTS.num_w_ports = 0