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

Subversion Repositories zipcpu

[/] [zipcpu/] [trunk/] [bench/] [cpp/] [Makefile] - Diff between revs 27 and 36

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

Rev 27 Rev 36
Line 43... Line 43...
SOURCES := zippy_tb.cpp memsim.cpp twoc.cpp $(ZASM)/zopcodes.cpp $(ZASM)/zparser.cpp
SOURCES := zippy_tb.cpp memsim.cpp twoc.cpp $(ZASM)/zopcodes.cpp $(ZASM)/zparser.cpp
RAWLIB  := /usr/share/verilator/include/verilated.cpp ../../rtl/obj_dir/Vzipsystem__ALL.a
RAWLIB  := /usr/share/verilator/include/verilated.cpp ../../rtl/obj_dir/Vzipsystem__ALL.a
LIBS    := $(RAWLIB) -lncurses
LIBS    := $(RAWLIB) -lncurses
TESTF   := ../../sw/zasm/z.out
TESTF   := ../../sw/zasm/z.out
 
 
zippy_tb: $(SOURCES) $(RAWLIB) $(ZASM)/zopcodes.h $(ZASM)/zparser.h
zippy_tb: $(SOURCES) $(RAWLIB) $(ZASM)/zopcodes.h $(ZASM)/zparser.h testb.h
        $(CXX) $(FLAGS) $(INCS) $(SOURCES) $(LIBS) -o $@
        $(CXX) $(FLAGS) $(INCS) $(SOURCES) $(LIBS) -o $@
 
 
 
.PHONY: stest
 
stest: zippy_tb
 
        ./zippy_tb -s $(TESTF)
 
 
 
.PHONY: itest
itest: zippy_tb
itest: zippy_tb
        ./zippy_tb $(TESTF)
        ./zippy_tb $(TESTF)
 
 
test: zippy_tb
.PHONY: test
 
test: zippy_tb stest
        ./zippy_tb -a $(TESTF)
        ./zippy_tb -a $(TESTF)
 
 
 
.PHONY: clean
 
clean:
 
        rm ./zippy_tb

powered by: WebSVN 2.1.0

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