[Cryptech-Commits] [core/rng/avalanche_entropy] branch master updated: Added lint target. Added compiler flags.
git at cryptech.is
git at cryptech.is
Thu Oct 18 07:59:04 UTC 2018
This is an automated email from the git hooks/post-receive script.
joachim at secworks.se pushed a commit to branch master
in repository core/rng/avalanche_entropy.
The following commit(s) were added to refs/heads/master by this push:
new 5ab446b Added lint target. Added compiler flags.
5ab446b is described below
commit 5ab446b59d8884d17ea61c9da6b4a613c0435c2b
Author: Joachim Strömbergson <joachim at secworks.se>
AuthorDate: Thu Oct 18 09:58:31 2018 +0200
Added lint target. Added compiler flags.
---
toolruns/Makefile | 15 +++++++++++++--
1 file changed, 13 insertions(+), 2 deletions(-)
diff --git a/toolruns/Makefile b/toolruns/Makefile
index 4e699ee..b2b8e68 100644
--- a/toolruns/Makefile
+++ b/toolruns/Makefile
@@ -40,14 +40,22 @@
CORE_SRC=../src/rtl/avalanche_entropy_core.v
TOP_SRC=../src/rtl/avalanche_entropy.v
-CC=iverilog
+CC = iverilog
+CC_FLAGS = -Wall
+
+LINT= verilator
+LINT_FLAGS = +1364-2001ext+ --lint-only -Wall -Wno-fatal -Wno-DECLFILENAME
all: top
top: $(TOP_SRC) $(CORE_SRC)
- $(CC) -o top $(TOP_SRC) $(CORE_SRC)
+ $(CC) $(CC_FLAGS) -o top $(TOP_SRC) $(CORE_SRC)
+
+
+lint: $(TOP_SRC)
+ $(LINT) $(LINT_FLAGS) $(TOP_SRC) $(CORE_SRC)
clean:
@@ -59,6 +67,9 @@ help:
@echo ""
@echo "Supported targets:"
@echo "------------------"
+ @echo "all: Build all simulation targets."
+ @echo "top: Build the top imulation target."
+ @echo "lint: Run the linter on the source."
@echo "clean: Delete all built files."
#===================================================================
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Commits
mailing list