From 11ff8713c5dc076f86d25bb4bb85e4f692bc7cb6 Mon Sep 17 00:00:00 2001 From: Hunter Nichols Date: Wed, 15 Sep 2021 13:00:51 -0700 Subject: [PATCH] Added shared config which is imported in all model configs. Shared config only hold model type for now. --- compiler/model_configs/shared_config.py | 1 + compiler/model_configs/sram_10b_64w_4wpr_21las_1rw.py | 1 + compiler/model_configs/sram_128b_1024_1rw.py | 1 + compiler/model_configs/sram_12b_128w_4wpr_38las_1rw.py | 1 + compiler/model_configs/sram_12b_16w_1wpr_1las_1rw.py | 1 + .../model_configs/sram_12b_256w_16wpr_186las_1rw.py | 10 ++++++++++ compiler/model_configs/sram_12b_256w_8wpr_17las_1rw.py | 1 + compiler/model_configs/sram_14b_32w_2wpr_23las_1rw.py | 10 ++++++++++ compiler/model_configs/sram_15b_512w_8wpr_85las_1rw.py | 1 + .../model_configs/sram_16b_1024w_16wpr_40las_1rw.py | 1 + .../model_configs/sram_17b_1024w_16wpr_86las_1rw.py | 1 + .../model_configs/sram_17b_256w_16wpr_49las_1rw.py | 1 + compiler/model_configs/sram_18b_128w_2wpr_7las_1rw.py | 1 + compiler/model_configs/sram_18b_32w_1wpr_18las_1rw.py | 1 + .../model_configs/sram_21b_1024w_4wpr_54las_1rw.py | 10 ++++++++++ .../model_configs/sram_22b_512w_16wpr_249las_1rw.py | 1 + .../model_configs/sram_23b_1024w_16wpr_118las_1rw.py | 1 + compiler/model_configs/sram_26b_64w_4wpr_23las_1rw.py | 1 + .../model_configs/sram_27b_1024w_4wpr_89las_1rw.py | 1 + .../model_configs/sram_27b_256w_8wpr_191las_1rw.py | 1 + compiler/model_configs/sram_27b_512w_4wpr_60las_1rw.py | 1 + compiler/model_configs/sram_32b_1024_1rw.py | 1 + compiler/model_configs/sram_32b_2048_1rw.py | 1 + compiler/model_configs/sram_32b_256_1rw.py | 1 + compiler/model_configs/sram_32b_32w_1wpr_31las_1rw.py | 10 ++++++++++ compiler/model_configs/sram_32b_512_1rw.py | 1 + compiler/model_configs/sram_4b_16w_1wpr_4las_1rw.py | 1 + compiler/model_configs/sram_4b_32w_2wpr_5las_1rw.py | 1 + compiler/model_configs/sram_4b_64w_4wpr_14las_1rw.py | 1 + compiler/model_configs/sram_5b_256w_16wpr_75las_1rw.py | 10 ++++++++++ compiler/model_configs/sram_64b_1024_1rw.py | 1 + compiler/model_configs/sram_64b_512_1rw.py | 1 + compiler/model_configs/sram_6b_16w_1wpr_1las_1rw.py | 1 + compiler/model_configs/sram_7b_256w_4wpr_25las_1rw.py | 10 ++++++++++ compiler/model_configs/sram_7b_64w_2wpr_10las_1rw.py | 1 + compiler/model_configs/sram_8b_1024_1rw.py | 1 + compiler/model_configs/sram_8b_256_1rw.py | 1 + compiler/model_configs/sram_8b_256w_1wpr_1las_1rw.py | 1 + compiler/model_configs/sram_8b_512_1rw.py | 1 + compiler/model_configs/sram_9b_1024w_4wpr_3las_1rw.py | 1 + compiler/model_configs/sram_9b_128w_1wpr_4las_1rw.py | 10 ++++++++++ compiler/model_configs/sram_9b_256w_4wpr_15las_1rw.py | 1 + 42 files changed, 105 insertions(+) create mode 100644 compiler/model_configs/shared_config.py create mode 100644 compiler/model_configs/sram_12b_256w_16wpr_186las_1rw.py create mode 100644 compiler/model_configs/sram_14b_32w_2wpr_23las_1rw.py create mode 100644 compiler/model_configs/sram_21b_1024w_4wpr_54las_1rw.py create mode 100644 compiler/model_configs/sram_32b_32w_1wpr_31las_1rw.py create mode 100644 compiler/model_configs/sram_5b_256w_16wpr_75las_1rw.py create mode 100644 compiler/model_configs/sram_7b_256w_4wpr_25las_1rw.py create mode 100644 compiler/model_configs/sram_9b_128w_1wpr_4las_1rw.py diff --git a/compiler/model_configs/shared_config.py b/compiler/model_configs/shared_config.py new file mode 100644 index 00000000..6faa9fda --- /dev/null +++ b/compiler/model_configs/shared_config.py @@ -0,0 +1 @@ +model_name = "cacti" diff --git a/compiler/model_configs/sram_10b_64w_4wpr_21las_1rw.py b/compiler/model_configs/sram_10b_64w_4wpr_21las_1rw.py index e343a699..cb95031c 100644 --- a/compiler/model_configs/sram_10b_64w_4wpr_21las_1rw.py +++ b/compiler/model_configs/sram_10b_64w_4wpr_21las_1rw.py @@ -1,3 +1,4 @@ +from shared_config import * word_size = 10 num_words = 64 words_per_row = 4 diff --git a/compiler/model_configs/sram_128b_1024_1rw.py b/compiler/model_configs/sram_128b_1024_1rw.py index 57585e10..dcefd390 100644 --- a/compiler/model_configs/sram_128b_1024_1rw.py +++ b/compiler/model_configs/sram_128b_1024_1rw.py @@ -1,3 +1,4 @@ +from shared_config import * word_size = 128 num_words = 1024 diff --git a/compiler/model_configs/sram_12b_128w_4wpr_38las_1rw.py b/compiler/model_configs/sram_12b_128w_4wpr_38las_1rw.py index e0b2725e..a3920fe2 100644 --- a/compiler/model_configs/sram_12b_128w_4wpr_38las_1rw.py +++ b/compiler/model_configs/sram_12b_128w_4wpr_38las_1rw.py @@ -1,3 +1,4 @@ +from shared_config import * word_size = 12 num_words = 128 words_per_row = 4 diff --git a/compiler/model_configs/sram_12b_16w_1wpr_1las_1rw.py b/compiler/model_configs/sram_12b_16w_1wpr_1las_1rw.py index 61ad7ef7..1d10601b 100644 --- a/compiler/model_configs/sram_12b_16w_1wpr_1las_1rw.py +++ b/compiler/model_configs/sram_12b_16w_1wpr_1las_1rw.py @@ -1,3 +1,4 @@ +from shared_config import * word_size = 12 num_words = 16 words_per_row = 1 diff --git a/compiler/model_configs/sram_12b_256w_16wpr_186las_1rw.py b/compiler/model_configs/sram_12b_256w_16wpr_186las_1rw.py new file mode 100644 index 00000000..8cb43861 --- /dev/null +++ b/compiler/model_configs/sram_12b_256w_16wpr_186las_1rw.py @@ -0,0 +1,10 @@ +from shared_config import * +word_size = 12 +num_words = 256 +words_per_row = 16 +local_array_size = 186 + +output_extended_config = True +output_datasheet_info = True +netlist_only = True +nominal_corner_only = True diff --git a/compiler/model_configs/sram_12b_256w_8wpr_17las_1rw.py b/compiler/model_configs/sram_12b_256w_8wpr_17las_1rw.py index a2ddaccc..7f09eb55 100644 --- a/compiler/model_configs/sram_12b_256w_8wpr_17las_1rw.py +++ b/compiler/model_configs/sram_12b_256w_8wpr_17las_1rw.py @@ -1,3 +1,4 @@ +from shared_config import * word_size = 12 num_words = 256 words_per_row = 8 diff --git a/compiler/model_configs/sram_14b_32w_2wpr_23las_1rw.py b/compiler/model_configs/sram_14b_32w_2wpr_23las_1rw.py new file mode 100644 index 00000000..c57fb0f5 --- /dev/null +++ b/compiler/model_configs/sram_14b_32w_2wpr_23las_1rw.py @@ -0,0 +1,10 @@ +from shared_config import * +word_size = 14 +num_words = 32 +words_per_row = 2 +local_array_size = 23 + +output_extended_config = True +output_datasheet_info = True +netlist_only = True +nominal_corner_only = True diff --git a/compiler/model_configs/sram_15b_512w_8wpr_85las_1rw.py b/compiler/model_configs/sram_15b_512w_8wpr_85las_1rw.py index b9f305ac..b27f609f 100644 --- a/compiler/model_configs/sram_15b_512w_8wpr_85las_1rw.py +++ b/compiler/model_configs/sram_15b_512w_8wpr_85las_1rw.py @@ -1,3 +1,4 @@ +from shared_config import * word_size = 15 num_words = 512 words_per_row = 8 diff --git a/compiler/model_configs/sram_16b_1024w_16wpr_40las_1rw.py b/compiler/model_configs/sram_16b_1024w_16wpr_40las_1rw.py index f088f5da..63fd918d 100644 --- a/compiler/model_configs/sram_16b_1024w_16wpr_40las_1rw.py +++ b/compiler/model_configs/sram_16b_1024w_16wpr_40las_1rw.py @@ -1,3 +1,4 @@ +from shared_config import * word_size = 16 num_words = 1024 words_per_row = 16 diff --git a/compiler/model_configs/sram_17b_1024w_16wpr_86las_1rw.py b/compiler/model_configs/sram_17b_1024w_16wpr_86las_1rw.py index 372b9d2f..9a1ab061 100644 --- a/compiler/model_configs/sram_17b_1024w_16wpr_86las_1rw.py +++ b/compiler/model_configs/sram_17b_1024w_16wpr_86las_1rw.py @@ -1,3 +1,4 @@ +from shared_config import * word_size = 17 num_words = 1024 words_per_row = 16 diff --git a/compiler/model_configs/sram_17b_256w_16wpr_49las_1rw.py b/compiler/model_configs/sram_17b_256w_16wpr_49las_1rw.py index fdaba442..d0479f51 100644 --- a/compiler/model_configs/sram_17b_256w_16wpr_49las_1rw.py +++ b/compiler/model_configs/sram_17b_256w_16wpr_49las_1rw.py @@ -1,3 +1,4 @@ +from shared_config import * word_size = 17 num_words = 256 words_per_row = 16 diff --git a/compiler/model_configs/sram_18b_128w_2wpr_7las_1rw.py b/compiler/model_configs/sram_18b_128w_2wpr_7las_1rw.py index efea335a..65382903 100644 --- a/compiler/model_configs/sram_18b_128w_2wpr_7las_1rw.py +++ b/compiler/model_configs/sram_18b_128w_2wpr_7las_1rw.py @@ -1,3 +1,4 @@ +from shared_config import * word_size = 18 num_words = 128 words_per_row = 2 diff --git a/compiler/model_configs/sram_18b_32w_1wpr_18las_1rw.py b/compiler/model_configs/sram_18b_32w_1wpr_18las_1rw.py index 4cc1c002..c0d73dfb 100644 --- a/compiler/model_configs/sram_18b_32w_1wpr_18las_1rw.py +++ b/compiler/model_configs/sram_18b_32w_1wpr_18las_1rw.py @@ -1,3 +1,4 @@ +from shared_config import * word_size = 18 num_words = 32 words_per_row = 1 diff --git a/compiler/model_configs/sram_21b_1024w_4wpr_54las_1rw.py b/compiler/model_configs/sram_21b_1024w_4wpr_54las_1rw.py new file mode 100644 index 00000000..5f831189 --- /dev/null +++ b/compiler/model_configs/sram_21b_1024w_4wpr_54las_1rw.py @@ -0,0 +1,10 @@ +from shared_config import * +word_size = 21 +num_words = 1024 +words_per_row = 4 +local_array_size = 54 + +output_extended_config = True +output_datasheet_info = True +netlist_only = True +nominal_corner_only = True diff --git a/compiler/model_configs/sram_22b_512w_16wpr_249las_1rw.py b/compiler/model_configs/sram_22b_512w_16wpr_249las_1rw.py index 1d41916b..cbb02b50 100644 --- a/compiler/model_configs/sram_22b_512w_16wpr_249las_1rw.py +++ b/compiler/model_configs/sram_22b_512w_16wpr_249las_1rw.py @@ -1,3 +1,4 @@ +from shared_config import * word_size = 22 num_words = 512 words_per_row = 16 diff --git a/compiler/model_configs/sram_23b_1024w_16wpr_118las_1rw.py b/compiler/model_configs/sram_23b_1024w_16wpr_118las_1rw.py index 20bbdaba..1d7227b4 100644 --- a/compiler/model_configs/sram_23b_1024w_16wpr_118las_1rw.py +++ b/compiler/model_configs/sram_23b_1024w_16wpr_118las_1rw.py @@ -1,3 +1,4 @@ +from shared_config import * word_size = 23 num_words = 1024 words_per_row = 16 diff --git a/compiler/model_configs/sram_26b_64w_4wpr_23las_1rw.py b/compiler/model_configs/sram_26b_64w_4wpr_23las_1rw.py index 87ca9915..a8160a1a 100644 --- a/compiler/model_configs/sram_26b_64w_4wpr_23las_1rw.py +++ b/compiler/model_configs/sram_26b_64w_4wpr_23las_1rw.py @@ -1,3 +1,4 @@ +from shared_config import * word_size = 26 num_words = 64 words_per_row = 4 diff --git a/compiler/model_configs/sram_27b_1024w_4wpr_89las_1rw.py b/compiler/model_configs/sram_27b_1024w_4wpr_89las_1rw.py index 3dc6a351..34c3c56a 100644 --- a/compiler/model_configs/sram_27b_1024w_4wpr_89las_1rw.py +++ b/compiler/model_configs/sram_27b_1024w_4wpr_89las_1rw.py @@ -1,3 +1,4 @@ +from shared_config import * word_size = 27 num_words = 1024 words_per_row = 4 diff --git a/compiler/model_configs/sram_27b_256w_8wpr_191las_1rw.py b/compiler/model_configs/sram_27b_256w_8wpr_191las_1rw.py index ab2c084e..816f8139 100644 --- a/compiler/model_configs/sram_27b_256w_8wpr_191las_1rw.py +++ b/compiler/model_configs/sram_27b_256w_8wpr_191las_1rw.py @@ -1,3 +1,4 @@ +from shared_config import * word_size = 27 num_words = 256 words_per_row = 8 diff --git a/compiler/model_configs/sram_27b_512w_4wpr_60las_1rw.py b/compiler/model_configs/sram_27b_512w_4wpr_60las_1rw.py index 1bbac3d3..eec58a67 100644 --- a/compiler/model_configs/sram_27b_512w_4wpr_60las_1rw.py +++ b/compiler/model_configs/sram_27b_512w_4wpr_60las_1rw.py @@ -1,3 +1,4 @@ +from shared_config import * word_size = 27 num_words = 512 words_per_row = 4 diff --git a/compiler/model_configs/sram_32b_1024_1rw.py b/compiler/model_configs/sram_32b_1024_1rw.py index 2de1ce15..9bef6fc6 100644 --- a/compiler/model_configs/sram_32b_1024_1rw.py +++ b/compiler/model_configs/sram_32b_1024_1rw.py @@ -1,3 +1,4 @@ +from shared_config import * word_size = 32 num_words = 1024 diff --git a/compiler/model_configs/sram_32b_2048_1rw.py b/compiler/model_configs/sram_32b_2048_1rw.py index eb987e71..f7c18aff 100644 --- a/compiler/model_configs/sram_32b_2048_1rw.py +++ b/compiler/model_configs/sram_32b_2048_1rw.py @@ -1,3 +1,4 @@ +from shared_config import * word_size = 32 num_words = 2048 diff --git a/compiler/model_configs/sram_32b_256_1rw.py b/compiler/model_configs/sram_32b_256_1rw.py index b4cfb10f..998d1db1 100644 --- a/compiler/model_configs/sram_32b_256_1rw.py +++ b/compiler/model_configs/sram_32b_256_1rw.py @@ -1,3 +1,4 @@ +from shared_config import * word_size = 32 num_words = 256 diff --git a/compiler/model_configs/sram_32b_32w_1wpr_31las_1rw.py b/compiler/model_configs/sram_32b_32w_1wpr_31las_1rw.py new file mode 100644 index 00000000..89a61e1d --- /dev/null +++ b/compiler/model_configs/sram_32b_32w_1wpr_31las_1rw.py @@ -0,0 +1,10 @@ +from shared_config import * +word_size = 32 +num_words = 32 +words_per_row = 1 +local_array_size = 31 + +output_extended_config = True +output_datasheet_info = True +netlist_only = True +nominal_corner_only = True diff --git a/compiler/model_configs/sram_32b_512_1rw.py b/compiler/model_configs/sram_32b_512_1rw.py index f90e0460..24bab462 100644 --- a/compiler/model_configs/sram_32b_512_1rw.py +++ b/compiler/model_configs/sram_32b_512_1rw.py @@ -1,3 +1,4 @@ +from shared_config import * word_size = 32 num_words = 512 diff --git a/compiler/model_configs/sram_4b_16w_1wpr_4las_1rw.py b/compiler/model_configs/sram_4b_16w_1wpr_4las_1rw.py index b7bc521d..eabc5206 100644 --- a/compiler/model_configs/sram_4b_16w_1wpr_4las_1rw.py +++ b/compiler/model_configs/sram_4b_16w_1wpr_4las_1rw.py @@ -1,3 +1,4 @@ +from shared_config import * word_size = 4 num_words = 16 words_per_row = 1 diff --git a/compiler/model_configs/sram_4b_32w_2wpr_5las_1rw.py b/compiler/model_configs/sram_4b_32w_2wpr_5las_1rw.py index 6a007d48..e7f5bea2 100644 --- a/compiler/model_configs/sram_4b_32w_2wpr_5las_1rw.py +++ b/compiler/model_configs/sram_4b_32w_2wpr_5las_1rw.py @@ -1,3 +1,4 @@ +from shared_config import * word_size = 4 num_words = 32 words_per_row = 2 diff --git a/compiler/model_configs/sram_4b_64w_4wpr_14las_1rw.py b/compiler/model_configs/sram_4b_64w_4wpr_14las_1rw.py index c970d774..f85ad51b 100644 --- a/compiler/model_configs/sram_4b_64w_4wpr_14las_1rw.py +++ b/compiler/model_configs/sram_4b_64w_4wpr_14las_1rw.py @@ -1,3 +1,4 @@ +from shared_config import * word_size = 4 num_words = 64 words_per_row = 4 diff --git a/compiler/model_configs/sram_5b_256w_16wpr_75las_1rw.py b/compiler/model_configs/sram_5b_256w_16wpr_75las_1rw.py new file mode 100644 index 00000000..49277e05 --- /dev/null +++ b/compiler/model_configs/sram_5b_256w_16wpr_75las_1rw.py @@ -0,0 +1,10 @@ +from shared_config import * +word_size = 5 +num_words = 256 +words_per_row = 16 +local_array_size = 75 + +output_extended_config = True +output_datasheet_info = True +netlist_only = True +nominal_corner_only = True diff --git a/compiler/model_configs/sram_64b_1024_1rw.py b/compiler/model_configs/sram_64b_1024_1rw.py index d73899f3..35130d96 100644 --- a/compiler/model_configs/sram_64b_1024_1rw.py +++ b/compiler/model_configs/sram_64b_1024_1rw.py @@ -1,3 +1,4 @@ +from shared_config import * word_size = 64 num_words = 1024 diff --git a/compiler/model_configs/sram_64b_512_1rw.py b/compiler/model_configs/sram_64b_512_1rw.py index 966bed6c..4511604e 100644 --- a/compiler/model_configs/sram_64b_512_1rw.py +++ b/compiler/model_configs/sram_64b_512_1rw.py @@ -1,3 +1,4 @@ +from shared_config import * word_size = 64 num_words = 512 diff --git a/compiler/model_configs/sram_6b_16w_1wpr_1las_1rw.py b/compiler/model_configs/sram_6b_16w_1wpr_1las_1rw.py index ec0dbed6..0460c6a9 100644 --- a/compiler/model_configs/sram_6b_16w_1wpr_1las_1rw.py +++ b/compiler/model_configs/sram_6b_16w_1wpr_1las_1rw.py @@ -1,3 +1,4 @@ +from shared_config import * word_size = 6 num_words = 16 words_per_row = 1 diff --git a/compiler/model_configs/sram_7b_256w_4wpr_25las_1rw.py b/compiler/model_configs/sram_7b_256w_4wpr_25las_1rw.py new file mode 100644 index 00000000..3cf12e6e --- /dev/null +++ b/compiler/model_configs/sram_7b_256w_4wpr_25las_1rw.py @@ -0,0 +1,10 @@ +from shared_config import * +word_size = 7 +num_words = 256 +words_per_row = 4 +local_array_size = 25 + +output_extended_config = True +output_datasheet_info = True +netlist_only = True +nominal_corner_only = True diff --git a/compiler/model_configs/sram_7b_64w_2wpr_10las_1rw.py b/compiler/model_configs/sram_7b_64w_2wpr_10las_1rw.py index c620f2bd..008e928f 100644 --- a/compiler/model_configs/sram_7b_64w_2wpr_10las_1rw.py +++ b/compiler/model_configs/sram_7b_64w_2wpr_10las_1rw.py @@ -1,3 +1,4 @@ +from shared_config import * word_size = 7 num_words = 64 words_per_row = 2 diff --git a/compiler/model_configs/sram_8b_1024_1rw.py b/compiler/model_configs/sram_8b_1024_1rw.py index 5d14d509..aed46407 100644 --- a/compiler/model_configs/sram_8b_1024_1rw.py +++ b/compiler/model_configs/sram_8b_1024_1rw.py @@ -1,3 +1,4 @@ +from shared_config import * word_size = 8 num_words = 1024 diff --git a/compiler/model_configs/sram_8b_256_1rw.py b/compiler/model_configs/sram_8b_256_1rw.py index 1fa3f737..7c77ce6c 100644 --- a/compiler/model_configs/sram_8b_256_1rw.py +++ b/compiler/model_configs/sram_8b_256_1rw.py @@ -1,3 +1,4 @@ +from shared_config import * word_size = 8 num_words = 256 diff --git a/compiler/model_configs/sram_8b_256w_1wpr_1las_1rw.py b/compiler/model_configs/sram_8b_256w_1wpr_1las_1rw.py index dfbf96d3..3d34aae7 100644 --- a/compiler/model_configs/sram_8b_256w_1wpr_1las_1rw.py +++ b/compiler/model_configs/sram_8b_256w_1wpr_1las_1rw.py @@ -1,3 +1,4 @@ +from shared_config import * word_size = 8 num_words = 256 words_per_row = 1 diff --git a/compiler/model_configs/sram_8b_512_1rw.py b/compiler/model_configs/sram_8b_512_1rw.py index 57615846..f3c5b8fd 100644 --- a/compiler/model_configs/sram_8b_512_1rw.py +++ b/compiler/model_configs/sram_8b_512_1rw.py @@ -1,3 +1,4 @@ +from shared_config import * word_size = 8 num_words = 512 diff --git a/compiler/model_configs/sram_9b_1024w_4wpr_3las_1rw.py b/compiler/model_configs/sram_9b_1024w_4wpr_3las_1rw.py index 8c742281..a0a8f76a 100644 --- a/compiler/model_configs/sram_9b_1024w_4wpr_3las_1rw.py +++ b/compiler/model_configs/sram_9b_1024w_4wpr_3las_1rw.py @@ -1,3 +1,4 @@ +from shared_config import * word_size = 9 num_words = 1024 words_per_row = 4 diff --git a/compiler/model_configs/sram_9b_128w_1wpr_4las_1rw.py b/compiler/model_configs/sram_9b_128w_1wpr_4las_1rw.py new file mode 100644 index 00000000..9122ceaa --- /dev/null +++ b/compiler/model_configs/sram_9b_128w_1wpr_4las_1rw.py @@ -0,0 +1,10 @@ +from shared_config import * +word_size = 9 +num_words = 128 +words_per_row = 1 +local_array_size = 4 + +output_extended_config = True +output_datasheet_info = True +netlist_only = True +nominal_corner_only = True diff --git a/compiler/model_configs/sram_9b_256w_4wpr_15las_1rw.py b/compiler/model_configs/sram_9b_256w_4wpr_15las_1rw.py index 5df33035..9a0da00b 100644 --- a/compiler/model_configs/sram_9b_256w_4wpr_15las_1rw.py +++ b/compiler/model_configs/sram_9b_256w_4wpr_15las_1rw.py @@ -1,3 +1,4 @@ +from shared_config import * word_size = 9 num_words = 256 words_per_row = 4