]> git.zerfleddert.de Git - raggedstone/blame_incremental - dhwk/Makefile
less depth
[raggedstone] / dhwk / Makefile
... / ...
CommitLineData
1PROJECT := dhwk
2CLEANFILES := dhwk_fifo* fifo_generator_* param.opt
3
4dhwk_all: ip all
5
6ip: icon.edn ila.edn vio.edn dhwk_fifo.ngc
7
8icon.edn: icon.arg
9 $(CHIPSCOPE)/bin/lin/generate.sh icon -f=$<
10
11ila.edn: ila.arg
12 $(CHIPSCOPE)/bin/lin/generate.sh ila -f=$<
13
14vio.edn: vio.arg
15 $(CHIPSCOPE)/bin/lin/generate.sh vio -f=$<
16
17dhwk_fifo.ngc: fifo.xco
18 coregen -b $<
19 -rmdir -p tmp/_cg
20
21test:
22 grep -q dhwk /proc/modules || (cd driver; ./build; sudo insmod dhwk.ko; sudo mknod -m 666 /dev/dhwk c 42 0)
23 dd if=/dev/urandom of=/tmp/in bs=1024 count=1024
24 (dd if=/dev/dhwk of=/tmp/out bs=1024 count=1024; md5sum /tmp/in /tmp/out)&
25 dd if=/tmp/in of=/dev/dhwk bs=1024 count=1024
26
27include ../common/Makefile.common
Impressum, Datenschutz