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

Subversion Repositories theia_gpu

[/] [theia_gpu/] [branches/] [icarus_version/] [simulation/] [Makefile] - Diff between revs 177 and 195

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

Rev 177 Rev 195
Line 9... Line 9...
GPUCONFIGURATIONSCRIPT=../scripts/configure_gpu.pl
GPUCONFIGURATIONSCRIPT=../scripts/configure_gpu.pl
INPUTCONFIGURATIONSCRIPT=../scripts/configure_params.pl
INPUTCONFIGURATIONSCRIPT=../scripts/configure_params.pl
#iverilog CONFIG
#iverilog CONFIG
VERILOG_CMD = iverilog
VERILOG_CMD = iverilog
GPUCORES = 4
GPUCORES = 4
 
WIDTH = 200
 
HEIGHT = 200
GPUMEMBANKS = $(GPUCORES)
GPUMEMBANKS = $(GPUCORES)
#VERILOG_FLAGS  =
#VERILOG_FLAGS  =
 
 
# VVP (iverilog runtime engine)
# VVP (iverilog runtime engine)
VVP_CMD = vvp
VVP_CMD = vvp
Line 67... Line 69...
ifeq ($(strip $(SCENEPATH)),)
ifeq ($(strip $(SCENEPATH)),)
                @echo "SCENEPATH not set. Use SCENEPATH=value to set it"
                @echo "SCENEPATH not set. Use SCENEPATH=value to set it"
                @exit 2
                @exit 2
endif
endif
        cp -f $(SCENEPATH)/*.mem .
        cp -f $(SCENEPATH)/*.mem .
        perl $(INPUTCONFIGURATIONSCRIPT) $(GPUCORES)
        perl $(INPUTCONFIGURATIONSCRIPT) $(GPUCORES) $(WIDTH) $(HEIGHT)
        $(VVP_CMD) ./$(TESTBENCH) -$(DUMPTYPE) $(VVP_FLAGS)
        $(VVP_CMD) ./$(TESTBENCH) -$(DUMPTYPE) $(VVP_FLAGS)
 
 
view : testbench_check
view : testbench_check
        $(WAVEFORM_VIEWER)  $(SIMDIR)/$(TESTBENCH).$(DUMPTYPE)
        $(WAVEFORM_VIEWER)  $(SIMDIR)/$(TESTBENCH).$(DUMPTYPE)
 
 

powered by: WebSVN 2.1.0

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