refactored openroad stuff into OpenROADTool base class. fixed PR suggestions
This commit is contained in:
@@ -20,28 +20,28 @@ include $(base_dir)/variables.mk
|
||||
sim_name ?= vcs # needed for GenerateSimFiles, but is unused
|
||||
tech_name ?= asap7
|
||||
tech_dir ?= $(if $(filter $(tech_name),asap7 nangate45),\
|
||||
$(vlsi_dir)/hammer/src/hammer-vlsi/technology/$(tech_name), \
|
||||
$(vlsi_dir)/hammer-$(tech_name)-plugin/$(tech_name))
|
||||
$(vlsi_dir)/hammer/src/hammer-vlsi/technology/$(tech_name), \
|
||||
$(vlsi_dir)/hammer-$(tech_name)-plugin/$(tech_name))
|
||||
SMEMS_COMP ?= $(tech_dir)/sram-compiler.json
|
||||
SMEMS_CACHE ?= $(tech_dir)/sram-cache.json
|
||||
SMEMS_HAMMER ?= $(build_dir)/$(long_name).mems.hammer.json
|
||||
MACROCOMPILER_MODE ?= $(if $(filter $(tech_name),asap7),\
|
||||
--mode synflops,\
|
||||
-l $(SMEMS_CACHE) -hir $(SMEMS_HAMMER) --mode strict)
|
||||
--mode synflops,\
|
||||
-l $(SMEMS_CACHE) -hir $(SMEMS_HAMMER) --mode strict)
|
||||
ENV_YML ?= $(vlsi_dir)/env.yml
|
||||
INPUT_CONFS ?= $(if $(filter $(tech_name),nangate45),\
|
||||
example-nangate45.yml,\
|
||||
example.yml)
|
||||
example-nangate45.yml,\
|
||||
example.yml)
|
||||
HAMMER_EXEC ?= $(if $(filter $(tech_name),nangate45),\
|
||||
example-vlsi-nangate45,\
|
||||
example-vlsi)
|
||||
example-vlsi-nangate45,\
|
||||
example-vlsi)
|
||||
VLSI_TOP ?= $(TOP)
|
||||
VLSI_HARNESS_DUT_NAME ?= dut
|
||||
VLSI_OBJ_DIR ?= $(vlsi_dir)/build
|
||||
ifneq ($(CUSTOM_VLOG), )
|
||||
OBJ_DIR ?= $(VLSI_OBJ_DIR)/custom-$(VLSI_TOP)
|
||||
ifneq ($(CUSTOM_VLOG),)
|
||||
OBJ_DIR ?= $(VLSI_OBJ_DIR)/custom-$(VLSI_TOP)
|
||||
else
|
||||
OBJ_DIR ?= $(VLSI_OBJ_DIR)/$(long_name)-$(VLSI_TOP)
|
||||
OBJ_DIR ?= $(VLSI_OBJ_DIR)/$(long_name)-$(VLSI_TOP)
|
||||
endif
|
||||
|
||||
#########################################################################################
|
||||
|
||||
@@ -1,7 +1,8 @@
|
||||
# Technology Setup
|
||||
# Technology used is nanagate45
|
||||
vlsi.core.technology: nangate45
|
||||
|
||||
# Specify dir with ASAP7 tarball
|
||||
# TODO: figure out how to remove this, or override it within OpenROADTool
|
||||
technology.nangate45.install_dir: "/k/work/OpenROAD-flow/tools/OpenROAD"
|
||||
|
||||
vlsi.core.max_threads: 12
|
||||
|
||||
Submodule vlsi/hammer updated: 657feaed58...c5a3cdf849
Reference in New Issue
Block a user