URL
https://opencores.org/ocsvn/gost28147/gost28147/trunk
Subversion Repositories gost28147
[/] [gost28147/] [trunk/] [Makefile] - Rev 2
Compare with Previous | Blame | View Log
# $Id: $ From Russia with love# ====================================================================== ## ## Makefile for GOST 28147-89 CryptoCore project ## ## Copyright (c) 2014 Dmitry Murzinov (kakstattakim@gmail.com) ## ## ====================================================================== ## project namePROJECT=gost28147_89SOURCES=$(PROJECT).svSIM_DIR=./sim/binSYN_DIR=./syn/binCUR_DIR=$(shell pwd)#ICARUS_SETUP:=. /soft/icarus.setup#MENTOR_SETUP:=. /soft/mentor.setupMENTOR_SETUP:=date#SYNPLIFY_SETUP:=. /soft/synplify.setupSYNPLIFY_SETUP:=date#######################################################################all: synthesisdefault_target: helpsynthesis: syn##### HELP target #####help:@echo ""@echo " Current project: $(PROJECT)"@echo " Current directory: $(CUR_DIR)"@echo ""@echo " Available targets :"@echo " =================="@echo " make : print this text"@echo " make synthesis : synthesize design using Synplify to get netlist"@echo " make sim : compile and run simulation RTL-design using ModelSim"@echo " make sim-gui : compile and run simulation RTL-design using ModelSim with GUI"@echo " make clean : remove all temporary files"@echo ""##### SIM target #####sim:@cd $(SIM_DIR);\$(MENTOR_SETUP);\vsim -c -quiet -do gost28147-89.tcl;\cd $(CUR_DIR);sim-gui:@cd $(SIM_DIR);\$(MENTOR_SETUP);\vsim -do gost28147-89_gui.tcl;\cd $(CUR_DIR);##### SYN target #####syn:@cd $(SYN_DIR);\$(SYNPLIFY_SETUP);\synplify_pro -enable64bit -batch synplify.tcl;\cd $(CUR_DIR);##### PHONY target #####.PHONY : clean syn sim
