Skip to content

Commit

Permalink
yaml-workflow for building rdma_perf app (#93)
Browse files Browse the repository at this point in the history
Added a workflow to build hw & sw for the rdma_perf example app
  • Loading branch information
maximilianheer authored Nov 17, 2024
1 parent 3471440 commit 48572ba
Show file tree
Hide file tree
Showing 4 changed files with 48 additions and 4 deletions.
45 changes: 45 additions & 0 deletions .github/workflows/build_rdma.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: Build RDMA

on:
pull_request:
branches:
- master

defaults:
run:
shell: bash -ileo pipefail {0}

jobs:
build_rdma_perf:
environment: fpga-synth
runs-on: [self-hosted, linux, x64]

steps:
- uses: actions/checkout@v3
with:
submodules: recursive

- name: Compile hardware for rdma_perf example
run: |
mkdir examples_hw/build_rdma_perf && cd examples_hw/build_rdma_perf
cmake ../ -DFDEV_NAME=u55c -DEXAMPLE=rdma_perf -DEN_XTERM=0
make project && make bitgen
- name: Compile software for RDMA-server
run: |
mkdir examples_sw/build_rdma_server && cd examples_sw/build_rdma_server
cmake ../ -DEXAMPLE=rdma_server
make
- name: Compile software for RDMA-client
run: |
mkdir examples_sw/build_rdma_client && cd examples_sw/build_rdma_client
cmake ../ -DEXAMPLE=rdma_client
make
- name: Artifact upload
uses: actions/upload-artifact@v3
with:
name: bitstream-rdma-perf
path: examples_hw/build_rdma_perf/bitstreams
retention-days: 3
1 change: 0 additions & 1 deletion .github/workflows/build_static.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ jobs:

- name: Compile hardware for Perf Local Example
run: |
source ~/.bashrc && vivado -version
mkdir examples_hw/build_perf_local && cd examples_hw/build_perf_local
cmake ../ -DFDEV_NAME=u55c -DEXAMPLE=static -DEN_XTERM=0
make project && make bitgen
Expand Down
4 changes: 2 additions & 2 deletions hw/hdl/network/rdma/rdma_mux_retrans.sv
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@ assign axis_ddr_wr.tlast = s_axis_user_req.tlast;
// create_ip -name ila -vendor xilinx.com -library ip -version 6.2 -module_name ila_retrans
// set_property -dict [list CONFIG.C_DATA_DEPTH {8192} CONFIG.C_PROBE29_WIDTH {22} CONFIG.C_PROBE23_WIDTH {28} CONFIG.C_NUM_OF_PROBES {35} CONFIG.Component_Name {ila_retrans} CONFIG.C_EN_STRG_QUAL {1} CONFIG.C_PROBE34_MU_CNT {2} CONFIG.C_PROBE33_MU_CNT {2} CONFIG.C_PROBE32_MU_CNT {2} CONFIG.C_PROBE31_MU_CNT {2} CONFIG.C_PROBE30_MU_CNT {2} CONFIG.C_PROBE29_MU_CNT {2} CONFIG.C_PROBE28_MU_CNT {2} CONFIG.C_PROBE27_MU_CNT {2} CONFIG.C_PROBE26_MU_CNT {2} CONFIG.C_PROBE25_MU_CNT {2} CONFIG.C_PROBE24_MU_CNT {2} CONFIG.C_PROBE23_MU_CNT {2} CONFIG.C_PROBE22_MU_CNT {2} CONFIG.C_PROBE21_MU_CNT {2} CONFIG.C_PROBE20_MU_CNT {2} CONFIG.C_PROBE19_MU_CNT {2} CONFIG.C_PROBE18_MU_CNT {2} CONFIG.C_PROBE17_MU_CNT {2} CONFIG.C_PROBE16_MU_CNT {2} CONFIG.C_PROBE15_MU_CNT {2} CONFIG.C_PROBE14_MU_CNT {2} CONFIG.C_PROBE13_MU_CNT {2} CONFIG.C_PROBE12_MU_CNT {2} CONFIG.C_PROBE11_MU_CNT {2} CONFIG.C_PROBE10_MU_CNT {2} CONFIG.C_PROBE9_MU_CNT {2} CONFIG.C_PROBE8_MU_CNT {2} CONFIG.C_PROBE7_MU_CNT {2} CONFIG.C_PROBE6_MU_CNT {2} CONFIG.C_PROBE5_MU_CNT {2} CONFIG.C_PROBE4_MU_CNT {2} CONFIG.C_PROBE3_MU_CNT {2} CONFIG.C_PROBE2_MU_CNT {2} CONFIG.C_PROBE1_MU_CNT {2} CONFIG.C_PROBE0_MU_CNT {2} CONFIG.ALL_PROBE_SAME_MU_CNT {2}] [get_ips ila_retrans]

ila_retrans inst_ila_retrans (
/* ila_retrans inst_ila_retrans (
.clk(aclk),
.probe0(s_req_net.valid),
Expand Down Expand Up @@ -399,6 +399,6 @@ ila_retrans inst_ila_retrans (
.probe32(tr_done),
.probe33(req_user.ready),
.probe34(req_user.valid)
);
); */

endmodule

0 comments on commit 48572ba

Please sign in to comment.