OpenRAM/compiler/options.py

39 lines
1.3 KiB
Python
Raw Normal View History

2016-11-08 18:57:35 +01:00
import optparse
import getpass
import os
2016-11-08 18:57:35 +01:00
class options(optparse.Values):
"""
Class for holding all of the OpenRAM options.
"""
2016-11-08 18:57:35 +01:00
# This is the technology directory.
openram_tech = ""
# This is the name of the technology.
tech_name = ""
# This is the temp directory where all intermediate results are stored.
openram_temp = "/tmp/openram_{0}_{1}_temp/".format(getpass.getuser(),os.getpid())
2016-11-08 18:57:35 +01:00
# This is the verbosity level to control debug information. 0 is none, 1
# is minimal, etc.
debug_level = 0
# This determines whether LVS and DRC is checked for each submodule.
check_lvsdrc = True
# Variable to select the variant of spice
spice_version = ""
2016-11-08 18:57:35 +01:00
# Should we print out the banner at startup
print_banner = True
# The Calibre executable being used which is derived from the user PATH.
calibre_exe = ""
# The spice executable being used which is derived from the user PATH.
spice_exe = ""
# Run with extracted parasitics
use_pex = False
# Remove noncritical memory cells for characterization speed-up
trim_netlist = True
2016-11-08 18:57:35 +01:00
# Define the output file paths
output_path = ""
2016-11-08 18:57:35 +01:00
# Define the output file base name
output_name = ""
# Use analytical delay models by default rather than (slow) characterization
analytical_delay = True