diff --git a/common.mk b/common.mk index c158795f..f592fa5c 100644 --- a/common.mk +++ b/common.mk @@ -17,7 +17,7 @@ HELP_COMPILATION_VARIABLES += \ " EXTRA_SIM_SOURCES = additional simulation sources needed for simulator" \ " 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_CUSTOM_FIRRTL_PASS = if set, enable custom firrtl passes (SFC lowers to LowFIRRTL & MFC converts to Verilog)" \ " EXTRA_CHISEL_OPTIONS = additional options to pass to the Chisel compiler" \ " EXTRA_FIRRTL_OPTIONS = additional options to pass to the FIRRTL compiler" diff --git a/fpga/Makefile b/fpga/Makefile index 20676835..037b2fb9 100644 --- a/fpga/Makefile +++ b/fpga/Makefile @@ -90,9 +90,6 @@ fpga_common_script_dir := $(fpga_dir)/common/tcl ######################################################################################### # setup misc. sim files ######################################################################################### -SIM_FILE_REQS += \ - $(ROCKETCHIP_RSRCS_DIR)/vsrc/EICG_wrapper.v - # copy files but ignore *.h files in *.f (match vcs) $(sim_files): $(SIM_FILE_REQS) | $(GEN_COLLATERAL_DIR) cp -f $^ $(GEN_COLLATERAL_DIR) diff --git a/generators/chipyard/src/main/scala/config/AbstractConfig.scala b/generators/chipyard/src/main/scala/config/AbstractConfig.scala index 1f43dcbf..191954f6 100644 --- a/generators/chipyard/src/main/scala/config/AbstractConfig.scala +++ b/generators/chipyard/src/main/scala/config/AbstractConfig.scala @@ -51,6 +51,7 @@ class AbstractConfig extends Config( new chipyard.config.WithPeripheryBusFrequencyAsDefault ++ // Unspecified frequencies with match the pbus frequency (which is always set) new chipyard.config.WithMemoryBusFrequency(100.0) ++ // Default 100 MHz mbus new chipyard.config.WithPeripheryBusFrequency(100.0) ++ // Default 100 MHz pbus + new freechips.rocketchip.subsystem.WithClockGateModel ++ // add default EICG_wrapper clock gate model new freechips.rocketchip.subsystem.WithJtagDTM ++ // set the debug module to expose a JTAG port new freechips.rocketchip.subsystem.WithNoMMIOPort ++ // no top-level MMIO master port (overrides default set in rocketchip) new freechips.rocketchip.subsystem.WithNoSlavePort ++ // no top-level MMIO slave port (overrides default set in rocketchip) diff --git a/project/build.properties b/project/build.properties index 10fd9eee..46e43a97 100644 --- a/project/build.properties +++ b/project/build.properties @@ -1 +1 @@ -sbt.version=1.5.5 +sbt.version=1.8.2 diff --git a/sims/common-sim-flags.mk b/sims/common-sim-flags.mk index 8787e60a..0736b43c 100644 --- a/sims/common-sim-flags.mk +++ b/sims/common-sim-flags.mk @@ -33,6 +33,3 @@ SIM_LDFLAGS = \ -lfesvr \ -ldramsim \ $(EXTRA_SIM_LDFLAGS) - -SIM_FILE_REQS += \ - $(ROCKETCHIP_RSRCS_DIR)/vsrc/EICG_wrapper.v diff --git a/vlsi/Makefile b/vlsi/Makefile index 339e3c80..a1f850a1 100644 --- a/vlsi/Makefile +++ b/vlsi/Makefile @@ -54,7 +54,7 @@ endif ######################################################################################### # general rules ######################################################################################### -.PHONY: default +.PHONY: default all default: all all: drc lvs @@ -82,7 +82,6 @@ ifneq ($(CUSTOM_VLOG), ) else cat $(TOP_MODS_FILELIST) $(TOP_BB_MODS_FILELIST) | sort -u > $(VLSI_RTL) echo $(TOP_SMEMS_FILE) >> $(VLSI_RTL) - echo $(build_dir)/EICG_wrapper.v >> $(VLSI_RTL) endif #########################################################################################