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

Subversion Repositories csa

[/] [csa/] [trunk/] [rtl/] [makefile] - Blame information for rev 49

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 49 simon111
PROJ_NAME ?=group_decrypt
2 15 simon111
DEBUG ?=y
3 8 simon111
 
4 15 simon111
ifeq ($(DEBUG),y)
5
VFLAGS=-DDEBUG
6
else
7
VFLAGS=
8
endif
9
 
10 13 simon111
all:$(PROJ_NAME)
11
 
12 8 simon111
key_perm:
13 15 simon111
        iverilog -S $(VFLAGS) -tnull $@.v
14 11 simon111
 
15 13 simon111
key_schedule:
16 45 simon111
        iverilog -S $(VFLAGS) -tnull $@.v          \
17
                        key_perm.v
18 13 simon111
 
19 16 simon111
block_decypher:
20 45 simon111
        iverilog -S $(VFLAGS) -tnull $@.v          \
21
                        block_perm.v               \
22
                        block_sbox.v
23 16 simon111
 
24 49 simon111
group_decrypt:
25
        iverilog -S $(VFLAGS) -tnull $@.v          \
26
                        stream_cypher.v            \
27
                        stream_8bytes.v            \
28
                        stream_byte.v            \
29
                        stream_iteration.v           \
30
                        sboxes.v           \
31
                        sbox1.v                            \
32
                        sbox2.v                            \
33
                        sbox3.v                            \
34
                        sbox4.v                            \
35
                        sbox5.v                            \
36
                        sbox6.v                            \
37
                        sbox7.v                            \
38
                        block_perm.v                            \
39
                        block_sbox.v                            \
40
                        block_decypher.v
41
 
42
 
43 20 simon111
stream_cypher:
44 45 simon111
        iverilog -S $(VFLAGS) -tnull $@.v          \
45
                sbox1.v                            \
46
                sbox2.v                            \
47
                sbox3.v                            \
48
                sbox4.v                            \
49
                sbox5.v                            \
50
                sbox6.v                            \
51
                sbox7.v                            \
52
                sboxes.v                           \
53
                stream_iteration.v                 \
54
                stream_byte.v                      \
55
                stream_8bytes.v
56 20 simon111
 
57 45 simon111
 
58 18 simon111
decrypt:
59 45 simon111
        iverilog -S $(VFLAGS) -tnull $@.v          \
60
                        block_decypher.v           \
61
                        block_perm.v               \
62
                        block_sbox.v               \
63
                        group_decrypt.v            \
64
                        key_cnt.v                  \
65
                        key_perm.v                 \
66
                        key_schedule.v             \
67
                        sbox1.v                    \
68
                        sbox2.v                    \
69
                        sbox3.v                    \
70
                        sbox4.v                    \
71
                        sbox5.v                    \
72
                        sbox6.v                    \
73
                        sbox7.v                    \
74
                        sboxes.v                   \
75
                        stream_8bytes.v            \
76
                        stream_byte.v              \
77
                        stream_cypher.v            \
78
                        stream_iteration.v         \
79
                        ts_serial_out.v            \
80
                        ts_sync.v
81
 
82 18 simon111
 
83 11 simon111
clean:
84
 

powered by: WebSVN 2.1.0

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