2012-02-20 17:55:20 -05:00
|
|
|
SOURCES=tb_s6ddrphy.v ../../verilog/s6ddrphy/s6ddrphy.v \
|
|
|
|
$(XILINX)/verilog/src/unisims/ODDR2.v \
|
|
|
|
$(XILINX)/verilog/src/unisims/OSERDES2.v \
|
|
|
|
$(XILINX)/verilog/src/unisims/ISERDES2.v \
|
|
|
|
$(XILINX)/verilog/src/unisims/IOBUF.v \
|
|
|
|
$(XILINX)/verilog/src/unisims/OBUFT.v \
|
|
|
|
$(XILINX)/verilog/src/unisims/BUFPLL.v
|
|
|
|
|
2013-05-10 16:30:28 -04:00
|
|
|
RM ?= rm -f
|
|
|
|
|
2012-02-20 17:55:20 -05:00
|
|
|
all: tb_s6ddrphy
|
|
|
|
|
|
|
|
isim: tb_s6ddrphy
|
|
|
|
./tb_s6ddrphy
|
|
|
|
|
|
|
|
cversim: $(SOURCES)
|
|
|
|
cver $(SOURCES)
|
|
|
|
|
|
|
|
clean:
|
2013-05-10 16:30:28 -04:00
|
|
|
$(RM) tb_s6ddrphy verilog.log s6ddrphy.vcd
|
2012-02-20 17:55:20 -05:00
|
|
|
|
|
|
|
tb_s6ddrphy: $(SOURCES)
|
|
|
|
iverilog -o tb_s6ddrphy $(SOURCES)
|
|
|
|
|
2013-05-10 16:30:28 -04:00
|
|
|
.PHONY: all clean isim cversim
|