Skip to content

Commit

Permalink
Support for RFSoC2x2 (#8)
Browse files Browse the repository at this point in the history
* add support for rfsoc2x2

* updated license header

* added instructions for RFSoC2x2

* fixed build typo
  • Loading branch information
Jenny Smith authored Apr 15, 2021
1 parent 28e669d commit e3e7ee7
Show file tree
Hide file tree
Showing 12 changed files with 1,906 additions and 7 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ boards/ZCU111/bitstreams/
boards/Ultra96/dsp_pynq/
boards/Ultra96/bitstreams/

boards/RFSoC2x2/dsp_pynq/
boards/RFSoC2x2/bitstreams/

boards/ZCU111/notebooks/assets/hpf.wav
boards/ZCU111/notebooks/assets/hpf_hw.wav
boards/ZCU111/notebooks/assets/hpf_coeffs.npy
Expand Down
8 changes: 8 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Copyright (C) 2021 Xilinx, Inc
# SPDX-License-Identifier: BSD-3-Clause
all: wheel

wheel:
Expand All @@ -9,8 +11,14 @@ zcu111:
ultra96:
cd boards/Ultra96 && $(MAKE)

rfsoc2x2:
cd boards/RFSoC2x2 && $(MAKE)

clean_zcu111:
cd boards/ZCU111 && $(MAKE) clean

clean_ultra96:
cd boards/Ultra96 && $(MAKE) clean

clean_rfsoc2x2:
cd boards/RFSoC2x2 && $(MAKE) clean
13 changes: 9 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,19 @@
# DSP-PYNQ
These notebooks act as a tutorial on how to develop a DSP application using Python and PYNQ. The first notebook is a primer on both DSP and Python packages centered around DSP functionality. The second notebook takes the knowledge learned from the first and uses it to perform similar functions, but using hardware IP on the programmable logic.
These notebooks act as a tutorial on how to develop a DSP application using Python and PYNQ. The first notebook is a primer on both DSP and Python packages centered around DSP functionality. The second notebook takes the knowledge learned from the first and uses it to perform similar functions, but using hardware IP on the programmable logic.

# Support
This repo supports the following boards:
- ZCU111
- Ultra96 v1
- Ultra96 v2
- RFSoC2x2

> The Ultra96 version of the design only supports Jupyter Notebooks.
## Getting started
All the material in this repo is available on several PYNQ verions for the ZCU111 - and is included in the [PYNQ RFSoC Workshop](https://github.com/Xilinx/PYNQ_RFSOC_Workshop). This is not the case for the Ultra96, meaning this repo has to be installed separately if using that board.
All the material in this repo is available on several PYNQ verions for the ZCU111 - and is included in the [PYNQ RFSoC Workshop](https://github.com/Xilinx/PYNQ_RFSOC_Workshop). This is not the case for the Ultra96 and RFSoC2x2, meaning this repo has to be installed separately if using either of those boards.

The SD card images for both boards can be downloaded from the [PYNQ website](http://www.pynq.io/board.html) and burned to a micro SD card with at least 8GB capacity.
The SD card images for all boards can be downloaded from the [PYNQ website](http://www.pynq.io/board.html) and burned to a micro SD card with at least 8GB capacity.

To install this repo separately, follow the instructions below.

Expand All @@ -38,8 +39,10 @@ $ git clone https://github.com/Xilinx/DSP-PYNQ
$ cd DSP-PYNQ
# to build for ZCU111
$ BOARD=ZCU111 make wheel
# to build build for Ultra96
# to build for Ultra96
$ BOARD=Ultra96 make wheel
# to build for RFSoC2x2
$ BOARD=RFSoC2x2 make wheel
```

To build only the Vivado project you can run the following command.
Expand All @@ -48,4 +51,6 @@ To build only the Vivado project you can run the following command.
$ make zcu111
# to build for Ultra96
$ make ultra96
# to build for RFSoC2x2
$ make rfsoc2x2
```
12 changes: 12 additions & 0 deletions boards/RFSoC2x2/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Copyright (C) 2021 Xilinx, Inc
# SPDX-License-Identifier: BSD-3-Clause
design_name := dsp_pynq
bitfile := bitstreams/$(design_name).bit

all: $(bitfile)

$(bitfile):
vivado -mode batch -notrace -nojournal -nolog -source create_project.tcl

clean:
rm -rf $(design_name) bitstreams *.jou *.log NA
Loading

0 comments on commit e3e7ee7

Please sign in to comment.