OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [orpsocv2/] [sim/] [bin/] [Makefile] - Diff between revs 475 and 476

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 475 Rev 476
Line 744... Line 744...
print-vlt-model-link-paths:
print-vlt-model-link-paths:
        $(Q)echo $(VLT_MODEL_LINKS)
        $(Q)echo $(VLT_MODEL_LINKS)
 
 
$(VLT_MODEL_LINKS):
$(VLT_MODEL_LINKS):
# Link all the required system C model files into the verilator work dir
# Link all the required system C model files into the verilator work dir
        for SYSCMODEL in $(SYSC_MODELS); do \
        $(Q)for SYSCMODEL in $(SYSC_MODELS); do \
                if [ ! -e $(SIM_VLT_DIR)/$$SYSCMODEL.cpp ]; then \
                if [ ! -e $(SIM_VLT_DIR)/$$SYSCMODEL.cpp ]; then \
                echo "\tLinking SystemC model $$SYSCMODEL  Verilator model build path"; \
                echo \
 
        "\tLinking SystemC model $$SYSCMODEL  Verilator model build path"; \
                        ln -s $(BENCH_SYSC_SRC_DIR)/$$SYSCMODEL.cpp \
                        ln -s $(BENCH_SYSC_SRC_DIR)/$$SYSCMODEL.cpp \
                                $(SIM_VLT_DIR)/$$SYSCMODEL.cpp; \
                                $(SIM_VLT_DIR)/$$SYSCMODEL.cpp; \
                        ln -s $(BENCH_SYSC_INCLUDE_DIR)/$$SYSCMODEL.h \
                        ln -s $(BENCH_SYSC_INCLUDE_DIR)/$$SYSCMODEL.h \
                                $(SIM_VLT_DIR)/$$SYSCMODEL.h; \
                                $(SIM_VLT_DIR)/$$SYSCMODEL.h; \
                fi; \
                fi; \
Line 775... Line 776...
 
 
 
 
###############################################################################
###############################################################################
# Verilator profiled model build rules
# Verilator profiled model build rules
###############################################################################
###############################################################################
# To run this, first run a "make prepare-vlt VLT_DO_PROFILING=1" then do a
# To run this, first run a "make prepare-vlt-profiled"
# "make clean" and then a "make prepare-vlt_profiled"
 
# This new make target copies athe results of the profiling back to the right
# This new make target copies athe results of the profiling back to the right
# paths before we create everything again
# paths before we create everything again
###############################################################################
###############################################################################
.PHONY: prepare-vlt-profiled
.PHONY: prepare-vlt-profiled
prepare-vlt-profiled: $(SIM_VLT_DIR)/OrpsocMain.gcda \
prepare-vlt-profiled: $(SIM_VLT_DIR)/OrpsocMain.gcda \

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.