From 3a53dc60d0dd9c5e16950dfaba846f078eb00513 Mon Sep 17 00:00:00 2001 From: joey0320 Date: Fri, 3 Mar 2023 22:34:00 -0800 Subject: [PATCH] Add ENABLE_VLSI_FLOW flag --- common.mk | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/common.mk b/common.mk index e3926deb..b1738926 100644 --- a/common.mk +++ b/common.mk @@ -18,6 +18,7 @@ HELP_COMPILATION_VARIABLES += \ " EXTRA_SIM_REQS = additional make requirements to build the simulator" \ " ENABLE_SBT_THIN_CLIENT = if set, use sbt's experimental thin client (works best when overridding SBT_BIN with the mainline sbt script)" \ " ENABLE_CUSTOM_FIRRTL_PASS = if set, enable custom firrtl passes (SFC lowers to LowFIRRTL & MFC converts to Verilog)" \ +" ENABLE_VLSI_FLOW = if set, add compilation flags to enable the vlsi flow for hammer \ " EXTRA_CHISEL_OPTIONS = additional options to pass to the Chisel compiler" \ " EXTRA_FIRRTL_OPTIONS = additional options to pass to the FIRRTL compiler" @@ -26,6 +27,11 @@ EXTRA_SIM_CXXFLAGS ?= EXTRA_SIM_LDFLAGS ?= EXTRA_SIM_SOURCES ?= EXTRA_SIM_REQS ?= +ENABLE_CUSTOM_FIRRTL_PASS += $(ENABLE_VLSI_FLOW) + + +$(info $$ENABLE_CUSTOM_FIRRTL_PASS is [${ENABLE_CUSTOM_FIRRTL_PASS}]) +$(info $$ENABLE_VLSI_FLOW is [${ENABLE_VLSI_FLOW}]) #---------------------------------------------------------------------------- HELP_SIMULATION_VARIABLES += \