test target
[raggedstone] / dhwk / Makefile
1 PROJECT := dhwk
2 CLEANFILES := dhwk_fifo* fifo_generator_* param.opt
3
4 dhwk_all: ip all
5
6 ip: icon.edn ila.edn dhwk_fifo.ngc
7
8 icon.edn: icon.arg
9 $(CHIPSCOPE)/bin/lin/generate.sh icon -f=$<
10
11 ila.edn: ila.arg
12 $(CHIPSCOPE)/bin/lin/generate.sh ila -f=$<
13
14 dhwk_fifo.ngc: fifo.xco
15 coregen -b $<
16 -rmdir -p tmp/_cg
17
18 test:
19 dd if=/dev/urandom of=/tmp/in bs=1024 count=1024
20 dd if=/dev/dhwk of=/tmp/out bs=1024 count=1024&
21 dd if=/tmp/in of=/dev/dhwk bs=1024 count=1024
22 md5sum /tmp/in /tmp/out
23
24 include ../common/Makefile.common
Impressum, Datenschutz