HelloWorld GReasy Application
Figure 1. Finished design.
Figure 1. Create new flow graph.
3. You should now have a blank and untitled flowgraph page in the GNU Radio window.
4. Notice the module block library on the right side of the window. At the top should be the AFPGA module block libraries. If
5. A GReasy based radio design that targets FPGAs has two distinct types of blocks: I/O Blocks and Processing blocks. I/O blocks represent the Static region of the hardware design and processing blocks are modules that can be placed in the sandbox or dynamic region of the hardware design. During design assembly, after a design has been built, these parts of the design are stitched together and precompiled.
6. To build your design, select the AFPGA ZYNQ sublibrary. This will expand in the library window. Then double click the aFPGA Zynq Linux In and aFPGA Zynq Linux Out blocks. These are the I/O blocks used for this tutorial since you've already set up your Zynq ZC7045 with embedded Linux running on the ARM.
7. Next select the aFPGA zynq passthrough block. This passthrough module will be placed in the sandbox design by TFlow when the flowgraph is compiled.
8. To complete the design, you can append any sink or source blocks you want to the input and output of the AFPGA I/O blocks. To get data streaming requires a bit of cleverness at this time, but to get a design up and running (the point of this tutorial) we won't worry about that just yet.
Figure 3. Execute the flowgraph.
9. Finally, when your design looks like the finished design given above click "Execute the flowgraph", at the top center of the toolbar. During execution time, an EDIF netlist is compiled of the flowgraph design. That EDIF is input to TFLow, which generates a bitstream. Scripts that run in the background without user intervention handle these steps, including finally programming the device.