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

Subversion Repositories csa

[/] [csa/] [trunk/] [rtl/] [makefile] - Rev 49

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

PROJ_NAME ?=group_decrypt
DEBUG ?=y

ifeq ($(DEBUG),y)
VFLAGS=-DDEBUG
else
VFLAGS=
endif

all:$(PROJ_NAME)

key_perm:
        iverilog -S $(VFLAGS) -tnull $@.v

key_schedule:
        iverilog -S $(VFLAGS) -tnull $@.v          \
                        key_perm.v

block_decypher:
        iverilog -S $(VFLAGS) -tnull $@.v          \
                        block_perm.v               \
                        block_sbox.v

group_decrypt:
        iverilog -S $(VFLAGS) -tnull $@.v          \
                        stream_cypher.v            \
                        stream_8bytes.v            \
                        stream_byte.v            \
                        stream_iteration.v           \
                        sboxes.v           \
                        sbox1.v                            \
                        sbox2.v                            \
                        sbox3.v                            \
                        sbox4.v                            \
                        sbox5.v                            \
                        sbox6.v                            \
                        sbox7.v                            \
                        block_perm.v                            \
                        block_sbox.v                            \
                        block_decypher.v


stream_cypher:
        iverilog -S $(VFLAGS) -tnull $@.v          \
                sbox1.v                            \
                sbox2.v                            \
                sbox3.v                            \
                sbox4.v                            \
                sbox5.v                            \
                sbox6.v                            \
                sbox7.v                            \
                sboxes.v                           \
                stream_iteration.v                 \
                stream_byte.v                      \
                stream_8bytes.v


decrypt:
        iverilog -S $(VFLAGS) -tnull $@.v          \
                        block_decypher.v           \
                        block_perm.v               \
                        block_sbox.v               \
                        group_decrypt.v            \
                        key_cnt.v                  \
                        key_perm.v                 \
                        key_schedule.v             \
                        sbox1.v                    \
                        sbox2.v                    \
                        sbox3.v                    \
                        sbox4.v                    \
                        sbox5.v                    \
                        sbox6.v                    \
                        sbox7.v                    \
                        sboxes.v                   \
                        stream_8bytes.v            \
                        stream_byte.v              \
                        stream_cypher.v            \
                        stream_iteration.v         \
                        ts_serial_out.v            \
                        ts_sync.v                  
 

clean:
        

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

powered by: WebSVN 2.1.0

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