Line 77... |
Line 77... |
# Creator: Dan Gisselquist, Ph.D.
|
# Creator: Dan Gisselquist, Ph.D.
|
# Gisselquist Technology, LLC
|
# Gisselquist Technology, LLC
|
#
|
#
|
################################################################################
|
################################################################################
|
#
|
#
|
# Copyright (C) 2015, Gisselquist Technology, LLC
|
# Copyright (C) 2015-2016, Gisselquist Technology, LLC
|
#
|
#
|
# This program is free software (firmware): you can redistribute it and/or
|
# This program is free software (firmware): you can redistribute it and/or
|
# modify it under the terms of the GNU General Public License as published
|
# modify it under the terms of the GNU General Public License as published
|
# by the Free Software Foundation, either version 3 of the License, or (at
|
# by the Free Software Foundation, either version 3 of the License, or (at
|
# your option) any later version.
|
# your option) any later version.
|
Line 105... |
Line 105... |
RTLD := ../../rtl
|
RTLD := ../../rtl
|
INCS := -I$(RTLD)/obj_dir/ -I$(RTLD) -I/usr/share/verilator/include -I$(ZASM)
|
INCS := -I$(RTLD)/obj_dir/ -I$(RTLD) -I/usr/share/verilator/include -I$(ZASM)
|
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
|
VLIB := /usr/share/verilator/include/verilated.cpp
|
VLIB := /usr/share/verilator/include/verilated.cpp
|
RAWLIB := $(VLIB) $(RTLD)/obj_dir/Vzipsystem__ALL.a
|
RAWLIB := $(VLIB) $(RTLD)/obj_dir/Vzipsystem__ALL.a
|
LIBS := $(RAWLIB) -lncurses
|
LIBS := $(RAWLIB) -lncurses -lelf
|
TESTF := $(ZASM)/z.out
|
TESTF := $(ZASM)/z.out
|
DHRYSTONEF := ../asm/zipdhry.z
|
DHRYSTONEF := ../asm/zipdhry.z
|
|
|
zippy_tb: $(SOURCES) $(RAWLIB) $(ZASM)/zopcodes.h $(ZASM)/zparser.h testb.h
|
zippy_tb: $(SOURCES) $(RAWLIB) $(ZASM)/zopcodes.h $(ZASM)/zparser.h testb.h
|
zippy_tb: $(RTLD)/cpudefs.h
|
zippy_tb: $(RTLD)/cpudefs.h
|