Skip to content

Commit

Permalink
Merge pull request #8 from dnorthcote/master
Browse files Browse the repository at this point in the history
Add RFSoC4x2 Support
  • Loading branch information
dnorthcote authored Jun 28, 2022
2 parents 19f831d + 5950f61 commit 21f8a33
Show file tree
Hide file tree
Showing 8 changed files with 1,939 additions and 9 deletions.
9 changes: 7 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,17 @@ IP_DAGC = ip/agc_digital/ip/component.xml
Z2_LOOPBACK = boards/Pynq-Z2/bin/agc_loopback.bit
ZCU111_LOOPBACK = boards/ZCU111/bin/agc_loopback.bit
2x2_LOOPBACK = boards/RFSoC2x2/bin/agc_loopback.bit
4x2_LOOPBACK = boards/RFSoC4x2/bin/agc_loopback.bit
TARBALL = pynq_agc.tar.gz

all : $(TARBALL)

$(TARBALL): $(Z2_LOOPBACK) $(ZCU111_LOOPBACK) $(2x2_LOOPBACK)
$(TARBALL): $(Z2_LOOPBACK) $(ZCU111_LOOPBACK) $(2x2_LOOPBACK) $(4x2_LOOPBACK)
tar -czf $(TARBALL) \
--exclude="boards/Pynq-Z2/prj_loopback" \
--exclude="boards/ZCU111/prj_loopback" \
--exclude="boards/RFSoC2x2/prj_loopback" \
--exclude="boards/RFSoC4x2/prj_loopback" \
*

$(IP_AAGC):
Expand All @@ -29,5 +31,8 @@ $(ZCU111_LOOPBACK): $(IP_DAGC)
$(2x2_LOOPBACK): $(IP_DAGC)
make -C boards/RFSoC2x2

$(4x2_LOOPBACK): $(IP_DAGC)
make -C boards/RFSoC4x2

clean:
rm $(TARBALL); make -C ip/agc_analogue clean; make -C ip/agc_digital clean; make -C boards/Pynq-Z2 clean; make -C boards/ZCU111 clean; make -C boards/RFSoC2x2 clean;
rm $(TARBALL); make -C ip/agc_analogue clean; make -C ip/agc_digital clean; make -C boards/Pynq-Z2 clean; make -C boards/ZCU111 clean; make -C boards/RFSoC2x2 clean; make -C boards/RFSoC4x2 clean;
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,18 @@ estimation, logarithms and exponentiation.
This repository is compatible with [PYNQ images v2.7 and
greater](https://github.com/Xilinx/PYNQ/releases) for the
[Pynq-Z2](https://www.tul.com.tw/productspynq-z2.html),
[ZCU111](https://www.xilinx.com/products/boards-and-kits/zcu111.html) and the
[RFSoC2x2]().
[ZCU111](https://www.xilinx.com/products/boards-and-kits/zcu111.html),
[RFSoC2x2](https://www.rfsoc-pynq.io/),
and the
[RFSoC4x2](https://www.rfsoc-pynq.io/).

Connect to the board with **Jupyter Lab** in a browser (not Jupyter Notebook) by
using a web browser `https://<IP address>:9090/lab`.

Open a terminal in Jupyter Lab and run the following command:

```console
root@pynq:/home/xilinx# pip3 install https://github.com/strath-sdr/pynq_agc/releases/download/v0.3.3/pynq_agc.tar.gz
root@pynq:/home/xilinx# pip3 install https://github.com/strath-sdr/pynq_agc/releases/download/v0.3.4/pynq_agc.tar.gz
```

The notebook should now be available in the `rfsoc-studio/pynq_agc` folder in your Jupyter Workspace.
Expand Down
5 changes: 5 additions & 0 deletions boards/RFSoC4x2/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
bin/
prj_loopback/
*.log
*.jou
NA
9 changes: 9 additions & 0 deletions boards/RFSoC4x2/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
BITFILE = bin/agc_loopback.bit

all: $(BITFILE)

$(BITFILE):
vivado -mode batch -source prj_loopback.tcl

clean:
rm -r bin NA prj_loopback vivado.jou vivado.log
Loading

0 comments on commit 21f8a33

Please sign in to comment.