Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
cramsay authored and schelleg committed Jul 3, 2019
0 parents commit 2237565
Show file tree
Hide file tree
Showing 42 changed files with 35,987 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
jupyter_notebooks/.ipynb_checkpoints
27 changes: 27 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
Copyright (c) 2019, Xilinx
All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:

* Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.

* Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.

* Neither the name of the copyright holder nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
5 changes: 5 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
install:
bash ./scripts/deploy_notebooks.sh

clean:
bash ./scripts/clear_outputs.sh
51 changes: 51 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
# PYNQ RFSoC Workshop

A collection of designs and notebooks for the PYNQ & RFSoC workshop — part of the ZCU111's [v2.4.1 PYNQ image](http://www.pynq.io/board.html).

<img src="https://github.com/xilinx/pynq_rfsoc_workshop/blob/master/notebooks/assets/preview/preview_qpsk.png" align="left" width="30%"/>
<img src="https://github.com/xilinx/pynq_rfsoc_workshop/blob/master/notebooks/assets/preview/preview_sdfec.png" align="left" width="30%"/>
<img src="https://github.com/xilinx/pynq_rfsoc_workshop/blob/master/notebooks/assets/preview/preview_dsp.png" width="30%"/>

## Getting started

These notebooks are already included in the ZCU111's v2.4.1 PYNQ image. The steps to get started with this image are:

1. Download the "ZCU111 v2.4.1 PYNQ image" file from the [PYNQ website](http://www.pynq.io/board.html).

2. Refer to the PYNQ docs for steps to:
* [burn the image](https://pynq.readthedocs.io/en/latest/appendix.html#writing-the-sd-card) to an SD card, and
* [configure your network interface](https://pynq.readthedocs.io/en/latest/appendix.html#assign-your-computer-a-static-ip-address)

3. Navigate to `http://<IP address>/lab` for the new JupterLab interface. We use features that aren't in the default interface.

4. Attach a SMA loopback cable between the DAC/ADC pair as shown below.

<p align="center">
<img src="https://github.com/strath-sdr/rfsoc_qpsk/blob/master/img/rfsoc_setup.png" width="800">
</p>

Now you're ready to use the notebooks in the `rfsoc_workshop` folder, as highlighted below:

<p align="center">
<img src="https://github.com/xilinx/pynq_rfsoc_workshop/blob/master/notebooks/assets/preview/launcher_highlight.png" width="800">
</p>

## Building from source

> This step is *optional*. Only continue if you want to build your own image.
You can recreate this workshop manually if, for example, you want to use it on a different PYNQ image.
Clone this repo and manually install the constituent RFSoC overlays:
1. [RFSOC-QPSK](https://github.com/strath-sdr/rfsoc_qpsk)
2. [SDFEC-PYNQ](https://github.com/Xilinx/SDFEC-PYNQ)
3. [DSP-PYNQ](https://github.com/Xilinx/DSP-PYNQ)

Run `make install` to deploy the workshop notebooks to the `rfsoc_workshop` folder.

## Hosting a lab session

Note that there is a `make install` target that will replace the notebooks with the original copies. Use this to do a soft reset between groups.

## License

[BSD 3-Clause](https://github.com/Xilinx/PYNQ_RFSOC_Workshop/blob/master/LICENSE)
Loading

0 comments on commit 2237565

Please sign in to comment.