The FPGA code has a top-level block with lots of I/O pins defined ... as app.h and put it in the same directory as your Arduino code. On the sketch side, you need to leave the template code ...