Skip to content

Commit

Permalink
Mon Dec 9 09:31:27 PM PST 2024
Browse files Browse the repository at this point in the history
  • Loading branch information
vagrantxiao24 committed Dec 10, 2024
1 parent fc9a2f5 commit 463268a
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
8 changes: 5 additions & 3 deletions getting_started/tapa_source/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
# The contributor(s) of this file has/have agreed to the RapidStream Contributor License Agreement.

ROOT_DIR := $(shell git rev-parse --show-toplevel)
PLATFORM := xilinx_u280_gen3x16_xdma_1_202211_1
PART_NUM := xcu280-fsvh2892-2L-e
PLATFORM := xilinx_u55c_gen3x16_xdma_3_202210_1
PART_NUM := xcu55c-fsvh2892-2L-e
GRP_UTIL := $(ROOT_DIR)/common/util/get_group.py
KERNEL_NAME := VecAdd
RS_SCRIPT := $(CURDIR)/run_u55c.py
Expand Down Expand Up @@ -35,6 +35,7 @@ all: $(RS_KERNEL_XCLBIN)
$(RSXX) $(SLACK_GETTER) -d $(TEMP_DIR) -i $(TIMING_RPT) -o $(BUILD_LOG) -c clk_kernel_00_unbuffered_net -p 3.333
echo $(SUCCESS)

# --run-impl \
$(RS_KERNEL_XCLBIN):$(KERNEL_XO) $(DEVICE_CONFIG) $(AB_CONFIG)
mkdir -p $(TEMP_DIR)
Expand All @@ -44,9 +45,10 @@ $(RS_KERNEL_XCLBIN):$(KERNEL_XO) $(DEVICE_CONFIG) $(AB_CONFIG)
--device-config $(DEVICE_CONFIG) \
--floorplan-config $(AB_CONFIG) \
--implementation-config $(IMPL_CONFIG) \
--run-impl \
--connectivity-ini $(LINK_CONFIG)

device:$(DEVICE_CONFIG)

$(DEVICE_CONFIG):$(RS_SCRIPT)
mkdir -p $(TEMP_DIR)
cd $(RSPATH) && $(RSPYTHON) $(RS_SCRIPT)
Expand Down
4 changes: 2 additions & 2 deletions getting_started/tapa_source/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ cd build/run_u55c.py && tapa compile \
--part-num xcu280-fsvh2892-2L-e \
--clock-period 3.33 \
-o VecAdd.xo \
-f design/VecAdd.cpp \
-f ../../design/VecAdd.cpp \
2>&1 | tee tapa.log
```

Expand Down Expand Up @@ -133,7 +133,7 @@ When finished, you can locate these files using the following command:
find ./build/run_u55c.py/ -name *.xo
```

If everything is successful, you should at least get one optimized `.xo` file located in `./build/dse/candidate_0/exported/VecAdd.xo`.
If everything is successful, you should at least get one optimized `.xo` file located in `build/run_u55c.py/dse/solution_0/updated.xo`.

### Step 7: Check the Group Module Report

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
{
"cells_pre_assignments": {
".*add_kernel.*": "SLOT_X1Y1_TO_SLOT_X1Y1"
},
"dse_range_max": 0.8,
"dse_range_min": 0.7,
"partition_strategy": "flat",
Expand Down

0 comments on commit 463268a

Please sign in to comment.