ibex-demo-system icon indicating copy to clipboard operation
ibex-demo-system copied to clipboard

Add support for the PYNQ-Z2 board

Open nuntipat opened this issue 2 years ago • 3 comments
trafficstars

This pull request adds support for the TUL PYNQ-Z2 board. BTN3 is used as a reset button, leaving 4 LEDs (LD0-3), 2 RGB LEDs (LD4-5), 2 slide switches (SW0-1), 4 GPIOs (PMODA) and 3 push buttons (BTN 0-2) for user applications. UART connection to the host PC is possible with the on-board FTDI chip with minimal modification to the board as described in the README.

One question. Because the board has a 125 MHz clock source rather than the Arty board's 100 MHz, a new clock generator module is given in rtl/fpga/clkgen_pynqz2.sv based on vendor/lowrisc_ibex/shared/rtl/fpga/xilinx/clkgen_xil7series.sv. Is it acceptable to place clkgen_pynqz2.sv in the rtl/fpga directory?

nuntipat avatar Jun 06 '23 20:06 nuntipat

Thanks for working on this, really cool! Your work helped me get a hello-world demo working on a Pynq Z2 board!

virajwadhwa avatar Apr 27 '24 22:04 virajwadhwa

Sorry for not reviewing this sooner. Would you mind updating the PR with the latest main branch? Some of your changes to load_demo_system.sh should not be necessary any more because we can specify the TCL script now. I would like to get this work into the repo though.

marnovandermaas avatar Mar 05 '25 13:03 marnovandermaas

@marnovandermaas Thank you for the feedback. I'll take a look at the change this weekend.

nuntipat avatar Mar 06 '25 17:03 nuntipat