From 7d244d635c5f02512e8e9a3d2c0a057fdd4b0bd1 Mon Sep 17 00:00:00 2001 From: abejgonzalez Date: Tue, 30 Nov 2021 19:54:54 -0800 Subject: [PATCH] Force FIRRTL 1.4.1 --- variables.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/variables.mk b/variables.mk index 9ba9f4a3..d5f5cb41 100644 --- a/variables.mk +++ b/variables.mk @@ -169,6 +169,10 @@ SBT_OPTS_FILE := $(base_dir)/.sbtopts ifneq (,$(wildcard $(SBT_OPTS_FILE))) override SBT_OPTS += $(subst $$PWD,$(base_dir),$(shell cat $(SBT_OPTS_FILE))) endif +# Workaround: Specify a firrtl version in system properties so that Treadle uses a +# compatible version of FIRRTL and not 1.5-SNAPSHOT (which is the default +# specified in it's build.sbt, and is not overridden by Chipyard's build.sbt) +override SBT_OPTS += -DfirrtlVersion=1.4.1 SCALA_BUILDTOOL_DEPS = $(SBT_SOURCES)