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

Subversion Repositories plasma

[/] [plasma/] [tags/] [V2_1/] [vhdl/] [makefile] - Diff between revs 48 and 58

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

Rev 48 Rev 58
Line 4... Line 4...
#WORK_DIR = work
#WORK_DIR = work
#DEP_FILE = _primary.dat
#DEP_FILE = _primary.dat
#COMPILE = vcom -check_synthesis
#COMPILE = vcom -check_synthesis
 
 
#for FREE VHDL simulator http://www.symphonyeda.com
#for FREE VHDL simulator http://www.symphonyeda.com
 
#WARNING: vhdle now deletes the output.txt if terminated by a ^C
WORK_DIR = work.sym
WORK_DIR = work.sym
DEP_FILE = prim.dep
DEP_FILE = prim.dep
COMPILE = vhdlp -s
COMPILE = vhdlp -s
 
 
all: $(WORK_DIR)/tbench/$(DEP_FILE)
all: $(WORK_DIR)/tbench/$(DEP_FILE)
 
 
run: all
run: all
        -@echo off > output.txt
        -@del output.txt
        -@echo on
        vhdle -t 1ms tbench
        -@start tail -f output.txt
        type output.txt|more
 
 
 
run2: all
 
        -@del output.txt
        vhdle -t 30ms tbench
        vhdle -t 30ms tbench
        -@diff output.txt ../tools/output.txt
        type output.txt|more
 
 
opcodes: all
opcodes: all
        gmake -C ..\tools opcodes
        make -C ..\tools opcodes
        vhdle -t 200us tbench
        vhdle -t 200us tbench
        @type output.txt|more
        @type output.txt|more
 
 
simulate: all
simulate: all
        vhdle -s -t 40us tbench -do simili.cmd -list trace.txt
        vhdle -s -t 40us tbench -do simili.cmd -list trace.txt
        -@..\tools\tracehex.exe
        -@..\tools\tracehex.exe
        -@start ed trace2.txt
        -@start ed trace2.txt
 
 
 
simulate2: all
 
        vhdle -s -t 4us tbench -do simili.cmd -list trace.txt
 
        -@..\tools\tracehex.exe
 
        -@ed trace2.txt
 
 
$(WORK_DIR)/lpm_pack/$(DEP_FILE): lpm_pack.vhd
$(WORK_DIR)/lpm_pack/$(DEP_FILE): lpm_pack.vhd
        $(COMPILE) lpm_pack.vhd
        $(COMPILE) lpm_pack.vhd
 
 
$(WORK_DIR)/lpm_model/$(DEP_FILE): lpm_model.vhd
$(WORK_DIR)/lpm_model/$(DEP_FILE): lpm_model.vhd
        $(COMPILE) -87 lpm_model.vhd
        $(COMPILE) -87 lpm_model.vhd
Line 84... Line 93...
        $(WORK_DIR)/mlite_cpu/$(DEP_FILE) \
        $(WORK_DIR)/mlite_cpu/$(DEP_FILE) \
        $(WORK_DIR)/ram/$(DEP_FILE) \
        $(WORK_DIR)/ram/$(DEP_FILE) \
        $(WORK_DIR)/uart/$(DEP_FILE)
        $(WORK_DIR)/uart/$(DEP_FILE)
        $(COMPILE) plasma.vhd
        $(COMPILE) plasma.vhd
 
 
$(WORK_DIR)/tbench/$(DEP_FILE): mlite_pack.vhd tbench.vhd \
$(WORK_DIR)/plasma_if/$(DEP_FILE): mlite_pack.vhd plasma_if.vhd \
        $(WORK_DIR)/plasma/$(DEP_FILE)
        $(WORK_DIR)/plasma/$(DEP_FILE)
 
        $(COMPILE) plasma_if.vhd
 
 
 
$(WORK_DIR)/tbench/$(DEP_FILE): mlite_pack.vhd tbench.vhd \
 
        $(WORK_DIR)/plasma/$(DEP_FILE) \
 
        $(WORK_DIR)/plasma_if/$(DEP_FILE)
        $(COMPILE) tbench.vhd
        $(COMPILE) tbench.vhd
 
 
altera: $(WORK_DIR)/lpm_pack/$(DEP_FILE) \
altera: $(WORK_DIR)/lpm_pack/$(DEP_FILE) \
        $(WORK_DIR)/lpm_model/$(DEP_FILE)
        $(WORK_DIR)/lpm_model/$(DEP_FILE)
 
        echo UNUSED > UNUSED
 
 

powered by: WebSVN 2.1.0

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