PYNQ-Z1 Pattern Generator

Pattern Generator

The Pattern Generator supports up to 64K pattern words. Though the memory is 32-bits wide, only least significant 20 bits are used which are routed to the Arduino pins. A data word is generated once every rising edge of the sample clock.

My question is does the pattern generator support up to 1024K pattern words?

1 Like

If you want something bigger you would need to modify the hardware design. Iā€™m not sure if there are free BRAM in the design that you can use to increase the Pattern Generator memory without deleting something else from this design. You may also need to modify some of the code to support a larger size.

Cathal

1 Like

Thanks for your advice. I just need 1024K pattern words, can delete other content. Can you give me an example of how to modify it?
yipeng

1 Like

The hardware design and software are open source, so you can change them.
In the Vivado IPI block diagram, find the BRAM for the pattern generator, and increase it. Delete other IP if resources required.
Check the Python code for any modifications required to support larger size:

Find where this file is installed on the board and replace with your changes.

Cathal

1 Like

Thank you very much for your advice. I would appreciate further instructions on how to load the pattern generator into the Vivado IPI block diagram and how to modify Python code.
yipeng_pynq