Skip to content

Commit 52bab30

Browse files
author
Abdullah Mughrabi
committed
added file .rbf id, added rules to Makefile
1 parent 13d301d commit 52bab30

18 files changed

+30
-24527
lines changed

01_capi_integration/accelerator_bin/output_seed11/capi-precis.fit.summary

-26
This file was deleted.
Binary file not shown.

01_capi_integration/accelerator_bin/output_seed11/capi-precis.sta.rpt

-10,541
This file was deleted.

01_capi_integration/accelerator_bin/output_seed11/capi-precis.sta.summary

-1,701
This file was deleted.
Binary file not shown.

01_capi_integration/accelerator_bin/output_seed23/capi-precis.fit.summary

-26
This file was deleted.
Binary file not shown.

01_capi_integration/accelerator_bin/output_seed23/capi-precis.sta.rpt

-10,506
This file was deleted.

01_capi_integration/accelerator_bin/output_seed23/capi-precis.sta.summary

-1,717
This file was deleted.
Binary file not shown.

01_capi_integration/accelerator_synth/Makefile

+4
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,10 @@ gen-rbf:
149149
quartus_cpf --64bit -c $(PROJECT).sof $(PROJECT).rbf &&\
150150
cp $(PROJECT).rbf ../$(ACCEL_BIN_DIR)/$(PROJECT)_$(VERION_GIT)_$(TIME_STAMP).rbf
151151

152+
.PHONY:copy-rbf
153+
copy-rbf:
154+
cp $(PROJECT).rbf ../$(ACCEL_BIN_DIR)/$(PROJECT)_$(VERION_GIT)_$(TIME_STAMP).rbf
155+
152156
.PHONY:stats
153157
stats:
154158
altera_stats.py $(PROJECT)

01_capi_integration/accelerator_synth/capi/fpga/common.tcl

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ set_global_assignment -name PHYSICAL_SYNTHESIS_COMBO_LOGIC_FOR_AREA ON
6161
set_global_assignment -name PHYSICAL_SYNTHESIS_REGISTER_RETIMING ON
6262
set_global_assignment -name PHYSICAL_SYNTHESIS_REGISTER_DUPLICATION ON
6363
set_global_assignment -name PHYSICAL_SYNTHESIS_EFFORT NORMAL
64-
set_global_assignment -name SEED 2
64+
set_global_assignment -name SEED 5
6565

6666
set_global_assignment -name PARTITION_NETLIST_TYPE POST_FIT -section_id "psl_accel:a0"
6767
set_global_assignment -name PARTITION_FITTER_PRESERVATION_LEVEL PLACEMENT_AND_ROUTING -section_id "psl_accel:a0"

Makefile

+25-9
Original file line numberDiff line numberDiff line change
@@ -151,13 +151,13 @@ ENABLE_RD_WR=3
151151
ENABLE_RD_WR_PREFETCH=3
152152

153153
#disable both page address based
154-
# RD_WR_PREFETCH_MODE=0
154+
RD_WR_PREFETCH_MODE=0
155155
#cacheline-read page-wrtie address based
156156
# RD_WR_PREFETCH_MODE=1
157157
# cacheline-write page-read address based
158158
# RD_WR_PREFETCH_MODE=2
159159
# both cacheline address based
160-
RD_WR_PREFETCH_MODE=3
160+
# RD_WR_PREFETCH_MODE=3
161161

162162
##############################################
163163
# CAPI FPGA AFU ARBITER CONFIG #
@@ -170,8 +170,8 @@ RD_WR_PREFETCH_MODE=3
170170
# FIXED_ARB [62]
171171
# ROUND_ROBIN_ARB [63]
172172

173-
ROUND_ROBIN_ARB=0x16FF000000000001
174-
FIXED_ARB=0x00FF000000000002
173+
ROUND_ROBIN_ARB=0x0011000000000001
174+
FIXED_ARB=0x11FF000000000002
175175

176176
##############################################
177177
# CAPI FPGA AFU/CU CONFIG #
@@ -191,16 +191,28 @@ export NUM_THREADS = 8
191191
LHS=32
192192
RHS=512
193193
#test
194-
export SIZE = $(shell echo $(LHS)\*$(RHS) | bc)
194+
# export SIZE = $(shell echo $(LHS)\*$(RHS) | bc)
195195

196-
#4GB
197-
# export SIZE = 1073741824
196+
#32 GB
197+
export SIZE = 8589934592
198198

199199
#16 GB
200-
# export SIZE = 4294967296
200+
export SIZE = 4294967296
201+
202+
#4GB
203+
export SIZE = 1073741824
204+
205+
#2GB
206+
export SIZE = 536870912
201207

202208
#1GB
203-
# export SIZE = 268435456
209+
export SIZE = 268435456
210+
211+
#512MB
212+
export SIZE = 134217728
213+
214+
#256
215+
export SIZE = 67108864
204216

205217
##################################################
206218
export ARGS = -n $(NUM_THREADS) -s $(SIZE) -a $(AFU_CONFIG_GENERIC) -c $(CU_CONFIG_GENERIC) -m $(ENABLE_RD_WR)
@@ -386,6 +398,10 @@ stats:
386398
gen-rbf:
387399
$(MAKE) gen-rbf $(MAKE_ARGS_SYNTH)
388400

401+
.PHONY:copy-rbf
402+
copy-rbf:
403+
$(MAKE) copy-rbf $(MAKE_ARGS_SYNTH)
404+
389405
.PHONY: clean-synth
390406
clean-synth:
391407
$(MAKE) clean $(MAKE_ARGS_SYNTH)

0 commit comments

Comments
 (0)