Page 1 of 1

Pmod Control on Zedboard

PostPosted: Fri Jul 06, 2018 4:13 pm
by kakap
Hi all,

I am new to FPGA. I want wo use Xillinux as a interface to control Pmods on the PL side from PS side. However, I have looked through all the documentation and still confused about how I can break the loopback in the demo bundle and connect that FIFOs to those Pmod I/Os.


Re: Pmod Control on Zedboard

PostPosted: Fri Jul 06, 2018 6:27 pm
by support

The loopback takes place in xillydemo.v or xillydemo.vhd (depending on which language you chose). Make sure you understand that module, and from there it should be clear how to take it from there.


Re: Pmod Control on Zedboard

PostPosted: Tue Jul 10, 2018 3:15 am
by Guest

Thanks for your reply.

I tried to attach fifo's data output to JA1, one of Pmods. I have checked the constraint file called xillydemo.xdc. It says ports of JA1 are constrained to PS_GPIO[31:24]. In order to break the demo's loopback. I modified the code as:
Code: Select all
fifo_8x2048 fifo_8
      .srst(!user_w_write_8_open && !user_r_read_8_open),

But when I tried to rebuild the project, it failed in synthesis process because of those pins having multiple drivers. Could you please help me to point out where I did wrong?

Re: Pmod Control on Zedboard

PostPosted: Wed Jul 11, 2018 3:09 am
by support

Indeed, if you just connect some of the PS_GPIO[] pins to the FIFO's dout output, they are double driven, as you didn't disconnect them from their previous driver.

As I said before, I suggest making sure you understand how xillydemo.v works before attempting to make changes. The modification you made doesn't imply you've got to the bottom of it as of yet.

Logic design is a skill of its own, which requires quite some effort to acquire. However this forum deals with Xillybus-specific issues. There are plenty of other sources and forums for getting help with Verilog and logic design.