未验证 提交 f53115cb 编写于 作者: Y Yinan Xu 提交者: GitHub

misc: cleanup for submodules and Makefile (#865)

* misc: cleanup for submodules and Makefile

* misc: use ready-to-run submodule
Co-authored-by: NWilliam Wang <zeweiwang@outlook.com>
上级 f1d6f360
[submodule "rocket-chip"]
path = rocket-chip
url = https://github.com/RISCVERS/rocket-chip.git
url = https://github.com/OpenXiangShan/rocket-chip.git
[submodule "block-inclusivecache-sifive"]
path = block-inclusivecache-sifive
url = https://github.com/RISCVERS/block-inclusivecache-sifive.git
url = https://github.com/OpenXiangShan/block-inclusivecache-sifive.git
[submodule "chiseltest"]
path = chiseltest
url = https://github.com/ucb-bar/chisel-testers2.git
......@@ -12,7 +12,8 @@
url = https://github.com/chipsalliance/api-config-chipsalliance
[submodule "berkeley-hardfloat"]
path = berkeley-hardfloat
url = https://github.com/RISCVERS/berkeley-hardfloat.git
[submodule "timingScripts"]
path = timingScripts
url = https://github.com/RISCVERS/timingScripts.git
url = https://github.com/OpenXiangShan/berkeley-hardfloat.git
[submodule "ready-to-run"]
path = ready-to-run
url = https://github.com/OpenXiangShan/ready-to-run
......@@ -107,38 +107,6 @@ $(REF_SO):
SEED ?= $(shell shuf -i 1-10000 -n 1)
VME_SOURCE ?= $(shell pwd)/build/$(TOP).v
VME_MODULES ?=
#-----------------------timing scripts-------------------------
# run "make vme/tap help=1" to get help info
# extract verilog module from TopMain.v
# usage: make vme VME_MODULES=Roq
TIMING_SCRIPT_PATH = ./timingScripts
vme: $(TOP_V)
make -C $(TIMING_SCRIPT_PATH) vme
# get and sort timing analysis with total delay(start+end) and max delay(start or end)
# and print it out
tap:
make -C $(TIMING_SCRIPT_PATH) tap
# usage: make phy_evaluate VME_MODULE=Roq REMOTE=100
phy_evaluate: vme
scp -r ./build/extracted/* $(REMOTE):~/phy_evaluation/remote_run/rtl
ssh -tt $(REMOTE) 'cd ~/phy_evaluation/remote_run && $(MAKE) evaluate DESIGN_NAME=$(VME_MODULE)'
scp -r $(REMOTE):~/phy_evaluation/remote_run/rpts ./build
# usage: make phy_evaluate_atc VME_MODULE=Roq REMOTE=100
phy_evaluate_atc: vme
scp -r ./build/extracted/* $(REMOTE):~/phy_evaluation/remote_run/rtl
ssh -tt $(REMOTE) 'cd ~/phy_evaluation/remote_run && $(MAKE) evaluate_atc DESIGN_NAME=$(VME_MODULE)'
scp -r $(REMOTE):~/phy_evaluation/remote_run/rpts ./build
cache:
$(MAKE) emu IMAGE=Makefile
release-lock:
ssh -tt $(REMOTE) 'rm -f $(LOCK)'
......
Subproject commit f0ef51065afe106e54061f243a0d8a9e95565112
Subproject commit c5c61624ae12072539bc14a32f333732f830d3f2
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册