Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding VCU128 board #12

Open
wants to merge 14 commits into
base: fifo_depth_opt
Choose a base branch
from
16 changes: 16 additions & 0 deletions hls4ml/templates/supported_boards.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,21 @@
"tcl_scripts": {"axi_master": "axi_master_design.tcl"},
"python_drivers": {},
"c_drivers": { "axi_master": "axi_master_design.c"}
},

"vcu128": {
"part": "xcvu37p-fsvh2892-2L-e",
"tcl_scripts": {"axi_master": "axi_master_design.tcl"},
"python_drivers": {},
"c_drivers": { "axi_master": "axi_master_design.c"}
},

"zcu104": {
"part": "xczu7ev-ffvc1156-2-e",
"tcl_scripts": {"axi_stream": "axi_stream_design.tcl"},
"python_drivers": {"axi_stream": "axi_stream_driver.py"},
"c_drivers": {}
}


}
1 change: 1 addition & 0 deletions hls4ml/templates/vivado_accelerator/vcu128/Readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
This is the test for adding VCU128 board to HLS4ML template.
33 changes: 33 additions & 0 deletions hls4ml/templates/vivado_accelerator/vcu128/c_drivers/sdk/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
DESIGN := design_1

help:
@echo "INFO: make <TAB> to show targets"
.PHONY: help

--setup:
xsct ./setup.tcl $(DESIGN)
.PHONY: --setup

sdk: --setup
rm -f $(DESIGN)_standalone/src/helloworld.c
cd $(DESIGN)_standalone/src && ln -s ../../common/main.c main.c
cd $(DESIGN)_standalone/src && ln -s ../../common/data.h data.h
.PHONY: sdk

gui:
xsdk --workspace . &
.PHONY: gui

clean:
rm -rf $(DESIGN)_platform
rm -rf $(DESIGN)_standalone
rm -rf $(DESIGN)_standalone_bsp
rm -rf RemoteSystemsTempFiles
rm -rf .Xil
rm -rf .metadata
rm -f *.log
.PHONY: clean

ultraclean: clean
rm -rf hdf/*.hdf
.PHONY: ultraclean
Loading