VLSIDA / OpenRAM

An open-source static random access memory (SRAM) compiler.
http://www.openram.org
BSD 3-Clause "New" or "Revised" License
809 stars 199 forks source link

Must define either `fet_libaries` or `fet_models` error #138

Closed IanBoyanZhang closed 2 years ago

IanBoyanZhang commented 2 years ago

Continue after fixing setup described in https://github.com/VLSIDA/OpenRAM/issues/137

Thanks again!

SP: ...OpenRAM/temp/sram_32_1024_sky130.sp
ERROR: file stimuli.py: line 50: Must define either fet_libraries or fet_models.

Config file

# Data word size
word_size = 32

# Number of words in the memory
num_words = 1024

# Technology to use in $OPENRAM_TECH
tech_name = "sky130"

# You can use the technology nominal corner only
# nominal_corner_only = True

process_corners = ["SS", "TT", "FF"]
# process_corners = ["TT"]

# Voltage corners to characterize
supply_voltages = [ 1.8 ]
# supply_voltages = [ 3.0, 3.3, 3.5 ]

# Temperature corners to characterize
# temperatures = [ 0, 25 100]

# Output directory for the results
output_path = "temp"
# Output file base name
output_name = "sram_{0}_{1}_{2}".format(word_size,num_words,tech_name)

# Disable analytical models for full characterization (WARNING: slow!)
analytical_delay = False

num_spare_cols=1
num_spare_rows=1

debug output

** Submodules: 15.4 seconds
** Placement: 0.0 seconds
**** Retrieving pins: 0.0 seconds
**** Analyzing pins: 0.0 seconds
**** Finding blockages: 5.0 seconds
**** Converting blockages: 0.2 seconds
**** Converting pins: 0.2 seconds
**** Separating adjacent pins: 0.0 seconds
**** Enclosing pins: 0.1 seconds
*** Finding pins and blockages: 138.3 seconds
*** Maze routing pins: 212.2 seconds
**** Retrieving pins: 0.1 seconds
**** Analyzing pins: 3.2 seconds
**** Finding blockages: 14.6 seconds
**** Converting blockages: 0.2 seconds
**** Converting pins: 4.8 seconds
**** Separating adjacent pins: 3.6 seconds
**** Enclosing pins: 7.2 seconds
*** Finding pins and blockages: 171.7 seconds
*** Maze routing supplies: 737.9 seconds
** Routing: 1904.5 seconds
** Verification: 0.0 seconds
** SRAM creation: 1920.0 seconds
SP: ...OpenRAM/temp/sram_32_1024_sky130.sp
ERROR: file stimuli.py: line 50: Must define either fet_libraries or fet_models.
IanBoyanZhang commented 2 years ago

Fixed above issues by updating the config file

# Data word size
word_size = 32

# Number of words in the memory
num_words = 1024

# Technology to use in $OPENRAM_TECH
tech_name = "sky130"

# You can use the technology nominal corner only
# nominal_corner_only = True

# process_corners = ["SS", "TT", "FF"]
process_corners = ["TT"]

# Voltage corners to characterize
supply_voltages = [ 1.8 ]
# supply_voltages = [ 3.0, 3.3, 3.5 ]

# Temperature corners to characterize
# temperatures = [ 0, 25 100]

# Output directory for the results
output_path = "temp"
# Output file base name
output_name = "sram_{0}_{1}_{2}".format(word_size,num_words,tech_name)

# Disable analytical models for full characterization (WARNING: slow!)
#analytical_delay = False

num_spare_cols=1
num_spare_rows=1

Thank you!