[Cryptech-Commits] [core/platform/alpha] branch fmc_clk updated: Upon reflection, I prefer the way Pavel handled include paths in 8cd28d0 (which he only committed on fmc_clk, and I was only looking at master).

git at cryptech.is git at cryptech.is
Wed Jan 23 01:13:29 UTC 2019


This is an automated email from the git hooks/post-receive script.

paul at psgd.org pushed a commit to branch fmc_clk
in repository core/platform/alpha.

The following commit(s) were added to refs/heads/fmc_clk by this push:
     new a69ef3c  Upon reflection, I prefer the way Pavel handled include paths in 8cd28d0 (which he only committed on fmc_clk, and I was only looking at master).
a69ef3c is described below

commit a69ef3c13244c5269a1ad1a48fdc736493005975
Author: Paul Selkirk <paul at psgd.org>
AuthorDate: Tue Jan 22 19:39:09 2019 -0500

    Upon reflection, I prefer the way Pavel handled include paths in 8cd28d0
    (which he only committed on fmc_clk, and I was only looking at master).
    
    But I moved the curly brackets from Makefile to xilinx.mk, because
    a) Makefile shouldn't need to know the picky details of xst option
    syntax, and
    b) xst will throw an uninformative error if called with '-vlgincdir '
    versus '-vlgincdir {}', if vlgincdir isn't defined in Makefile.
---
 build/Makefile   | 6 +++---
 build/xilinx.mk  | 2 +-
 build/xilinx.opt | 1 -
 3 files changed, 4 insertions(+), 5 deletions(-)

diff --git a/build/Makefile b/build/Makefile
index 5a6107d..60e55f9 100644
--- a/build/Makefile
+++ b/build/Makefile
@@ -16,11 +16,11 @@ part		= xc7a200tfbg484-1
 top_module	= alpha_fmc_top
 isedir		= /opt/Xilinx/14.7/ISE_DS
 xil_env		= . $(isedir)/settings$(WORD_SIZE).sh
-ucf			?= ../ucf/$(project).ucf
+ucf		?= ../ucf/$(project).ucf
 
-# verilog include directories {yes, XST wants them exactly this way in curly braces}
-vlgincdir	= {$(CORE_TREE)/lib/lowlevel $(CORE_TREE)/math/ecdsalib/rtl/microcode}
+# Verilog include directories, if needed
 
+vlgincdir	= $(CORE_TREE)/lib/lowlevel $(CORE_TREE)/math/ecdsalib/rtl/microcode
 
 all:	$(project).bit
 
diff --git a/build/xilinx.mk b/build/xilinx.mk
index c88f00b..4bfefde 100644
--- a/build/xilinx.mk
+++ b/build/xilinx.mk
@@ -154,8 +154,8 @@ $(project).scr: $(optfile) $(mkfiles) ./xilinx.opt
 	echo "-top $(top_module)" >> $@
 	echo "-ifn $(project).prj" >> $@
 	echo "-ofn $(project).ngc" >> $@
+	echo "-vlgincdir {$(vlgincdir)}" >> $@
 	cat ./xilinx.opt $(optfile) >> $@
-	echo "-vlgincdir $(vlgincdir)" >> $@
 junk += $(project).scr
 
 $(project).post_map.twr: $(project).ncd
diff --git a/build/xilinx.opt b/build/xilinx.opt
index 933f7df..1ac8957 100644
--- a/build/xilinx.opt
+++ b/build/xilinx.opt
@@ -45,4 +45,3 @@
 -iob auto
 -equivalent_register_removal YES
 -slice_utilization_ratio_maxmargin 5
--vlgincdir {../../../lib/lowlevel ../../../math/ecdsalib/rtl/microcode}

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Commits mailing list