$ cat Vtop.mk # Verilated -*- Makefile -*- # DESCRIPTION: Verilator output: Makefile for building Verilated archive or executable # # Execute this makefile from the object directory: # make -f Vtop.mk
default: Vtop
### Constants... # Perl executable (from $PERL) PERL = perl # Path to Verilator kit (from $VERILATOR_ROOT) VERILATOR_ROOT = /usr/local/share/verilator # SystemC include directory with systemc.h (from $SYSTEMC_INCLUDE) SYSTEMC_INCLUDE ?= # SystemC library directory with libsystemc.a (from $SYSTEMC_LIBDIR) SYSTEMC_LIBDIR ?=
# User LDLIBS (from -LDFLAGS on Verilator command line) VM_USER_LDLIBS = \
# User .cpp files (from .cpp's on Verilator command line) VM_USER_CLASSES = \ helpers \ main \
# User .cpp directories (from .cpp's on Verilator command line) VM_USER_DIR = \ . \ /home/luyoung/Test/verilator_helpers/src \
### Default rules... # Include list of all generated classes include Vtop_classes.mk # Include global rules include $(VERILATOR_ROOT)/include/verilated.mk