From 636099c5e13d230a506b5a124a7f8db8f3180250 Mon Sep 17 00:00:00 2001 From: mguthaus Date: Mon, 12 Feb 2018 11:22:47 -0800 Subject: [PATCH] Example config only characterizes a single corner. Remove default name of sram to generate more meaningful name. Begin pre-computed IP library. --- compiler/example_config_freepdk45.py | 3 +++ compiler/example_config_scn3me_subm.py | 3 ++- compiler/options.py | 2 +- lib/freepdk45/config_1rw_1k_32b_freepdk45.py | 9 +++++++++ 4 files changed, 15 insertions(+), 2 deletions(-) create mode 100644 lib/freepdk45/config_1rw_1k_32b_freepdk45.py diff --git a/compiler/example_config_freepdk45.py b/compiler/example_config_freepdk45.py index 16545b2d..9366abcb 100644 --- a/compiler/example_config_freepdk45.py +++ b/compiler/example_config_freepdk45.py @@ -3,6 +3,9 @@ num_words = 128 num_banks = 1 tech_name = "freepdk45" +process_corners = ["TT"] +supply_voltages = [1.0] +temperatures = [25] output_path = "temp" output_name = "sram_2_16_1_freepdk45" diff --git a/compiler/example_config_scn3me_subm.py b/compiler/example_config_scn3me_subm.py index 5ba52bb0..491fa4d2 100644 --- a/compiler/example_config_scn3me_subm.py +++ b/compiler/example_config_scn3me_subm.py @@ -3,8 +3,9 @@ num_words = 16 num_banks = 1 tech_name = "scn3me_subm" +process_corners = ["TT"] supply_voltages = [ 5.0 ] -temperatures = [ 25.0 ] +temperatures = [ 25 ] output_path = "temp" diff --git a/compiler/options.py b/compiler/options.py index 133ee926..d6414b6c 100644 --- a/compiler/options.py +++ b/compiler/options.py @@ -39,7 +39,7 @@ class options(optparse.Values): # Define the output file paths output_path = "." # Define the output file base name - output_name = "sram" + output_name = "" # Use analytical delay models by default rather than (slow) characterization analytical_delay = True # Purge the temp directory after a successful run (doesn't purge on errors, anyhow) diff --git a/lib/freepdk45/config_1rw_1k_32b_freepdk45.py b/lib/freepdk45/config_1rw_1k_32b_freepdk45.py new file mode 100644 index 00000000..debfaceb --- /dev/null +++ b/lib/freepdk45/config_1rw_1k_32b_freepdk45.py @@ -0,0 +1,9 @@ +word_size = 32 +num_words = 1024 +num_banks = 1 + +tech_name = "freepdk45" + +output_path = "sram_1rw_32b_1k_freepdk45" + +