Makefile (839e5512b11a14daed2f8e8e654ac047f4cc50ae) Makefile (7d45a146d3c44839ba821bb91ca4950dc2b817f2)
1#***************************************************************************************
2# Copyright (c) 2020-2021 Institute of Computing Technology, Chinese Academy of Sciences
3# Copyright (c) 2020-2021 Peng Cheng Laboratory
4#
5# XiangShan is licensed under Mulan PSL v2.
6# You can use this software according to the terms and conditions of the Mulan PSL v2.
7# You may obtain a copy of Mulan PSL v2 at:
8# http://license.coscl.org.cn/MulanPSL2

--- 139 unchanged lines hidden (view full) ---

148
149bsp:
150 mill -i mill.bsp.BSP/install
151
152idea:
153 mill -i mill.scalalib.GenIdea/idea
154
155# verilator simulation
1#***************************************************************************************
2# Copyright (c) 2020-2021 Institute of Computing Technology, Chinese Academy of Sciences
3# Copyright (c) 2020-2021 Peng Cheng Laboratory
4#
5# XiangShan is licensed under Mulan PSL v2.
6# You can use this software according to the terms and conditions of the Mulan PSL v2.
7# You may obtain a copy of Mulan PSL v2 at:
8# http://license.coscl.org.cn/MulanPSL2

--- 139 unchanged lines hidden (view full) ---

148
149bsp:
150 mill -i mill.bsp.BSP/install
151
152idea:
153 mill -i mill.scalalib.GenIdea/idea
154
155# verilator simulation
156emu:
156emu: sim-verilog
157 $(MAKE) -C ./difftest emu SIM_TOP=SimTop DESIGN_DIR=$(NOOP_HOME) NUM_CORES=$(NUM_CORES)
158
157 $(MAKE) -C ./difftest emu SIM_TOP=SimTop DESIGN_DIR=$(NOOP_HOME) NUM_CORES=$(NUM_CORES)
158
159emu-run:
159emu-run: emu
160 $(MAKE) -C ./difftest emu-run SIM_TOP=SimTop DESIGN_DIR=$(NOOP_HOME) NUM_CORES=$(NUM_CORES)
161
162# vcs simulation
163simv:
164 $(MAKE) -C ./difftest simv SIM_TOP=SimTop DESIGN_DIR=$(NOOP_HOME) NUM_CORES=$(NUM_CORES)
165
166include Makefile.test
167
168.PHONY: verilog sim-verilog emu clean help init bump bsp $(REF_SO)
160 $(MAKE) -C ./difftest emu-run SIM_TOP=SimTop DESIGN_DIR=$(NOOP_HOME) NUM_CORES=$(NUM_CORES)
161
162# vcs simulation
163simv:
164 $(MAKE) -C ./difftest simv SIM_TOP=SimTop DESIGN_DIR=$(NOOP_HOME) NUM_CORES=$(NUM_CORES)
165
166include Makefile.test
167
168.PHONY: verilog sim-verilog emu clean help init bump bsp $(REF_SO)