HackRF-Treasure-Chest/Software/portapack-mayhem/hackrf/firmware/cpld/sgpio_debug
2022-09-22 09:26:57 -07:00
..
batch_svf Add software 2022-09-22 09:26:57 -07:00
batch_xsvf Add software 2022-09-22 09:26:57 -07:00
default.xsvf Add software 2022-09-22 09:26:57 -07:00
Makefile Add software 2022-09-22 09:26:57 -07:00
README.md Add software 2022-09-22 09:26:57 -07:00
sgpio_debug.xise Add software 2022-09-22 09:26:57 -07:00
top_tb.vhd Add software 2022-09-22 09:26:57 -07:00
top.jed Add software 2022-09-22 09:26:57 -07:00
top.ucf Add software 2022-09-22 09:26:57 -07:00
top.vhd Add software 2022-09-22 09:26:57 -07:00

CPLD interface between LPC43xx microcontroller SGPIO peripheral and MAX5864 RF codec.

CPLD-based triggered capture

To build this VHDL project and produce an SVF file for flashing the CPLD:

  • Xilinx WebPACK 13.4 for Windows or Linux.

Generate an XSVF

After generating a programming file:

  • In the ISE Project Navigator, "Processes: top - Behavioral" pane, double-click "Configure Target Device".
  • Click "OK" to open iMPACT.
  • Ctrl-N to create a "New Project".
  • "Yes" to automatically create and save a project file.
  • Select "Prepare a Boundary-Scan File", choose "XSVF".
  • Select file name "default.xsvf".
  • Click "OK" to start adding devices.
  • Assign new configuration file: "top.jed".
  • Right-click the "xc2c64a top.jed" icon and select "Erase". Accept defaults.
  • Right-click the "xc2c64a top.jed" icon and select "Program".
  • Right-click the "xc2c64a top.jed" icon and select "Verify".
  • Choose menu "Output" -> "XSVF File" -> "Stop Writing to XSVF File".
  • Close iMPACT.

To Program

$ hackrf_cpldjtag -x default.xsvf