[Cryptech-Commits] [core/platform/alpha] 02/06: 1. Disabled SmartGuide as it can thwart reproducible implementation. 2. Enabled multi-threading for MAP and PAR, the corresponding switch is -mt. MAP supports -mt off|2, PAR supports -mt off|2|3|4. Please revert back to -mt off if the build system has only two cores.

git at cryptech.is git at cryptech.is
Wed Jan 23 22:06:11 UTC 2019


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

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

commit 995f7178156c6f16484bbb7b8eed86ef86d222a8
Author: Pavel V. Shatov (Meister) <meisterpaul1 at yandex.ru>
AuthorDate: Sat Aug 18 02:08:54 2018 +0300

    1. Disabled SmartGuide as it can thwart reproducible implementation.
    2. Enabled multi-threading for MAP and PAR, the corresponding switch is -mt.
       MAP supports -mt off|2, PAR supports -mt off|2|3|4. Please revert back to
       -mt off if the build system has only two cores.
---
 build/xilinx.mk | 21 ++++++++++++---------
 1 file changed, 12 insertions(+), 9 deletions(-)

diff --git a/build/xilinx.mk b/build/xilinx.mk
index 76d0110..0250915 100644
--- a/build/xilinx.mk
+++ b/build/xilinx.mk
@@ -33,8 +33,8 @@
 coregen_work_dir ?= ./coregen-tmp
 #map_opts ?= -timing -ol high -detail -pr b -register_duplication -w -xe n
 # from https://github.com/fpga-logi/logi-hard/blob/master/build_lib/synth/xilinx.mk:
-map_opts ?= -w -logic_opt off -ol high -t 1 -xt 0 -register_duplication off -r 4 -global_opt off -mt off -ir off -pr off -lc off -power off
-par_opts ?= -ol high
+map_opts ?= -w -logic_opt off -ol high -t 1 -xt 0 -register_duplication off -r 4 -global_opt off -mt 2 -ir off -pr off -lc off -power off
+par_opts ?= -ol high -mt 4
 isedir ?= /opt/Xilinx/13.3/ISE_DS
 xil_env ?= . $(isedir)/settings32.sh
 flashsize ?= 8192
@@ -117,14 +117,17 @@ junk += $(project)_par.grf $(project)_par.ptwx
 junk += $(project)_par.unroutes $(project)_par.xpi
 
 $(project).ncd: $(project).ngd
-	if [ -r $(project)_par.ncd ]; then \
-		cp $(project)_par.ncd smartguide.ncd; \
-		smartguide="-smartguide smartguide.ncd"; \
-	else \
-		smartguide=""; \
-	fi; \
+	#if [ -r $(project)_par.ncd ]; then \
+	#	cp $(project)_par.ncd smartguide.ncd; \
+	#	smartguide="-smartguide smartguide.ncd"; \
+	#else \
+	#	smartguide=""; \
+	#fi; \
+	#$(xil_env); \
+	#map $(intstyle) $(map_opts) $$smartguide $<
 	$(xil_env); \
-	map $(intstyle) $(map_opts) $$smartguide $<
+	map $(intstyle) $(map_opts) $<
+
 junk += $(project).ncd $(project).pcf $(project).ngm $(project).mrp $(project).map
 junk += smartguide.ncd $(project).psr
 junk += $(project)_summary.xml $(project)_usage.xml



More information about the Commits mailing list