Skip to content

Commit 28130a8

Browse files
authored
minor corrections (#133)
* minor corrections * Update Kconfig Signed-off-by: Alexandre CASTELLANE <alexandre.castellane@fr.ibm.com>
1 parent 5519e9b commit 28130a8

4 files changed

Lines changed: 18 additions & 15 deletions

File tree

hardware/Makefile

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -390,13 +390,14 @@ else
390390
@cd $(BUILD_DIR) && env IMPL_STEP=ALL vivado -quiet -mode batch -source $(SETUP_DIR)/snap_build.tcl -notrace -log $(LOGS_DIR)/snap_build.log -journal $(LOGS_DIR)/snap_build.jou
391391
@$(RM) -r .bitstream_name.txt
392392
endif
393-
ifeq ($(ILA_DEBUG),TRUE)
394-
@echo -e "Generating ltx file for ILA debug."
395-
@cd $(BUILD_DIR) && vivado -mode batch -source $(SETUP_DIR)/gen_probe_ltx.tcl -notrace -log $(LOGS_DIR)/gen_probe_ltx.log -journal $(LOGS_DIR)/gen_probe_ltx.jou
396-
@echo -e "Generation of ltx file done."
397-
@mv $(BUILD_DIR)/probe.ltx $(BUILD_DIR)/Images
398-
@echo -e "Moved ltx file into Image."
399-
endif
393+
# removed temporarily the following condition since ltx files already generated in snap_build.tcl
394+
#ifeq ($(ILA_DEBUG),TRUE)
395+
# @echo -e "Generating ltx file for ILA debug."
396+
# @cd $(BUILD_DIR) && vivado -mode batch -source $(SETUP_DIR)/gen_probe_ltx.tcl -notrace -log $(LOGS_DIR)/gen_probe_ltx.log -journal $(LOGS_DIR)/gen_probe_ltx.jou
397+
# @echo -e "Generation of ltx file done."
398+
# @mv $(BUILD_DIR)/probe.ltx $(BUILD_DIR)/Images
399+
# @echo -e "Moved ltx file into Image."
400+
#endif
400401
@echo -e "[BUILD IMAGE.........] done `date +"%T %a %b %d %Y"`"
401402

402403
allow_%:

hardware/setup/create_framework.tcl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -372,6 +372,7 @@ if { $ila_debug == "TRUE" } {
372372
add_files -fileset constrs_1 -norecurse $::env(ILA_SETUP_FILE)
373373
} else {
374374
puts " ignore \$ILA_SETUP_FILE: not provided or doesn't exist."
375+
puts " (using by default the extra.xdc file)"
375376
}
376377

377378
# Way2: Instantiate ila cores

hardware/setup/patch_version.sh

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,14 @@ SRC="define BUILD_DATE_DAT 64'h.*"
3636
DST="define BUILD_DATE_DAT 64'h0000_${SNAP_BUILD_DATE}"
3737
sed -i "s/$SRC/$DST/" $1/$2
3838

39-
# Manually Patching with USERCODE
40-
SRC="define USERCODE 64'h.*"
41-
# usercode should be less than 64 bit long
42-
#usercode=`echo 0123456789ABCDEF`
43-
DST="define USERCODE 64'h${USERCODE}"
44-
sed -i "s/$SRC/$DST/" $1/$2
45-
39+
# Manually Patching with USERCODE if required
40+
if [ -z $FPGACARD ]; then
41+
SRC="define USERCODE 64'h.*"
42+
# usercode should be less than 64 bit long
43+
#usercode=`echo 0123456789ABCDEF`
44+
DST="define USERCODE 64'h${USERCODE}"
45+
sed -i "s/$SRC/$DST/" $1/$2
46+
fi
4647

4748
#Patch card info and sdram_size
4849
# SDRAM_SIZE="2000" stand for 8GB of SDRAM - 0 for IBM but will be overwritten later by HBM_AXI_IF_NB

scripts/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -501,7 +501,7 @@ config ETHERNET_USED
501501

502502
config ETHERNET_RX_FIFO_DEPTH
503503
int
504-
prompt "Depth of receiving FIFO for Ethernet 100G MAC in 512-bit packates (must be power of 2)"
504+
prompt "Depth of receiving FIFO for Ethernet 100G MAC in 512-bit packets (must be power of 2)"
505505
depends on ENABLE_ETHERNET
506506
default 8192
507507

0 commit comments

Comments
 (0)