mirror of https://github.com/VLSIDA/OpenRAM.git
Move the compiler script to the root
This commit is contained in:
parent
dc9d1e00d8
commit
92460d2080
|
|
@ -18,7 +18,7 @@ a Liberty (.lib) file for timing analysis/optimization
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
import datetime
|
import datetime
|
||||||
import globals as g
|
from openram import globals as g
|
||||||
|
|
||||||
(OPTS, args) = g.parse_args()
|
(OPTS, args) = g.parse_args()
|
||||||
|
|
||||||
|
|
@ -29,7 +29,7 @@ if len(args) != 1:
|
||||||
|
|
||||||
|
|
||||||
# These depend on arguments, so don't load them until now.
|
# 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
|
# Parse config file and set up all the options
|
||||||
g.init_openram(config_file=args[0], is_unit_test=False)
|
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
|
# Output info about this run
|
||||||
g.report_status()
|
g.report_status()
|
||||||
|
|
||||||
from modules import sram_config
|
from openram.modules import sram_config
|
||||||
|
|
||||||
|
|
||||||
# Configure the SRAM organization
|
# Configure the SRAM organization
|
||||||
|
|
@ -73,7 +73,7 @@ for path in output_files:
|
||||||
debug.print_raw(path)
|
debug.print_raw(path)
|
||||||
|
|
||||||
|
|
||||||
from modules import sram
|
from openram.modules import sram
|
||||||
s = sram(name=OPTS.output_name,
|
s = sram(name=OPTS.output_name,
|
||||||
sram_config=c)
|
sram_config=c)
|
||||||
|
|
||||||
Loading…
Reference in New Issue