1 Star 0 Fork 1

LTZJS/riscv-core

forked from StephenDai/riscv-core 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
Makefile 1023 Bytes
一键复制 编辑 原始数据 按行查看 历史
StephenDai 提交于 2023-09-09 10:53 . 20230909
##path
export WORK_AREA=${PWD}
export SIM = ${WORK_AREA}/sim
export RTL = ${WORK_AREA}/rtl
export TB = ${WORK_AREA}/tb
###############################
# compile and simulation
###############################
help:
@echo "---------------------------------------------------------------------------------"
@echo "comp : run vcs for project compile"
@echo "sim : compile and view waveforms"
@echo "simg : compile and view waveforms(-gui)"
@echo "clean : clear sim folder"
@echo "---------------------------------------------------------------------------------"
comp: clean
cd ${SIM} && \
vcs -full64 -sverilog -debug_access+all \
-timescale=1ns/1ns \
-f ./filelist.f \
-top riscv_soc_tb \
-l vcs_compile.log \
sim: comp
cd ${SIM} && \
./simv +$(test)
simg: comp
cd ${SIM} && \
./simv +$(test) -gui &
###############################
# Clean
###############################
clean:
rm -rf ./sim/csrc ./sim/simv.daidir ./sim/*.key ./sim/*.log ./sim/simv ./sim/DVEfiles ./sim/*.vpd ./sim/*.old
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/ltzjs/riscv-core.git
git@gitee.com:ltzjs/riscv-core.git
ltzjs
riscv-core
riscv-core
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385