Move the compiler script to the root

This commit is contained in:
Eren Dogan 2022-10-25 12:22:57 -07:00
parent dc9d1e00d8
commit 92460d2080
1 changed files with 4 additions and 4 deletions

8
compiler/openram.py → openram.py Executable file → Normal file
View File

@ -18,7 +18,7 @@ a Liberty (.lib) file for timing analysis/optimization
import sys
import datetime
import globals as g
from openram import globals as g
(OPTS, args) = g.parse_args()
@ -29,7 +29,7 @@ if len(args) != 1:
# These depend on arguments, so don't load them until now.
import debug
from openram import debug
# Parse config file and set up all the options
g.init_openram(config_file=args[0], is_unit_test=False)
@ -47,7 +47,7 @@ g.print_time("Start", start_time)
# Output info about this run
g.report_status()
from modules import sram_config
from openram.modules import sram_config
# Configure the SRAM organization
@ -73,7 +73,7 @@ for path in output_files:
debug.print_raw(path)
from modules import sram
from openram.modules import sram
s = sram(name=OPTS.output_name,
sram_config=c)