1
0
Fork 0
rocket-chip/vsim/Makefile

29 lines
751 B
Makefile
Raw Normal View History

2014-09-01 05:26:55 +02:00
#=======================================================================
# Makefile for Verilog simulation w/ VCS
#-----------------------------------------------------------------------
# Yunsup Lee (yunsup@cs.berkeley.edu)
#
# This makefile will build a rtl simulator and run various tests to
# verify proper functionality.
#
default: all
base_dir = $(abspath ..)
generated_dir = $(abspath ./generated-src)
2014-09-08 09:21:57 +02:00
mem_gen = $(base_dir)/vsim/vlsi_mem_gen
2014-09-01 05:26:55 +02:00
sim_dir = .
output_dir = $(sim_dir)/output
2014-09-08 09:21:57 +02:00
BACKEND = rocketchip.RocketChipBackend
CONFIG = DefaultVLSIConfig
include $(base_dir)/Makefrag
include $(sim_dir)/Makefrag
2014-09-01 05:26:55 +02:00
include $(base_dir)/vsim/Makefrag-sim
all: $(simv)
clean:
rm -rf $(junk) simv* csrc *.key DVE* *.h *.a *.daidir $(generated_dir)