mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-20 05:13:46 -07:00
force bitfiles to be identical for same source code
This commit is contained in:
parent
2de52138bc
commit
6465f247ea
1 changed files with 6 additions and 1 deletions
|
@ -44,6 +44,9 @@ XST_OPTS_AREA += -opt_level 2
|
||||||
XST_OPTS_AREA += -fsm_style bram
|
XST_OPTS_AREA += -fsm_style bram
|
||||||
XST_OPTS_AREA += -fsm_encoding compact
|
XST_OPTS_AREA += -fsm_encoding compact
|
||||||
|
|
||||||
|
# par specific option (set determistic seed)
|
||||||
|
PAR_OPTIONS = -t 1
|
||||||
|
|
||||||
# Types of selective module compilation:
|
# Types of selective module compilation:
|
||||||
# WITH_LF Enables selection of LF modules (and disables all HF)
|
# WITH_LF Enables selection of LF modules (and disables all HF)
|
||||||
|
|
||||||
|
@ -179,12 +182,14 @@ work:
|
||||||
%.ncd: %_map.ncd
|
%.ncd: %_map.ncd
|
||||||
$(Q)$(RM) $@
|
$(Q)$(RM) $@
|
||||||
$(info [-] PAR $@)
|
$(info [-] PAR $@)
|
||||||
$(Q)$(XILINX_TOOLS_PREFIX)par $(VERBOSITY) -w $< $@
|
$(Q)$(XILINX_TOOLS_PREFIX)par $(PAR_OPTIONS) $(VERBOSITY) -w $< $@
|
||||||
|
|
||||||
%.bit: %.ncd
|
%.bit: %.ncd
|
||||||
$(Q)$(RM) $@ $*.drc $*.rbt
|
$(Q)$(RM) $@ $*.drc $*.rbt
|
||||||
$(info [=] BITGEN $@)
|
$(info [=] BITGEN $@)
|
||||||
$(Q)$(XILINX_TOOLS_PREFIX)bitgen $(VERBOSITY) -w $* $@
|
$(Q)$(XILINX_TOOLS_PREFIX)bitgen $(VERBOSITY) -w $* $@
|
||||||
|
#$(shell printf '\xff%.0s' {1..22} | dd of=fpga_pm3_hf.bit bs=1 seek=48 conv=notrunc)
|
||||||
|
echo "FFFFFFFFFFFFFFFFFFFFFF" | dd of=fpga_pm3_hf.bit bs=1 seek=48 conv=notrunc
|
||||||
$(Q)$(CP) $@ ..
|
$(Q)$(CP) $@ ..
|
||||||
|
|
||||||
# Build all targets
|
# Build all targets
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue