Implementation of synchronous and asynchronous finite-state-machine on FPGA using verilog HDL
| PYNQ-Z2 v1.0.xdc
| README.md
|
+---bitstream
| led_pattern_async.bit
| led_pattern_sync.bit
|
+---blink_led_verilog
| clk_div.v
| testbench.v
| top.v
|
+---images
| design_impl.png
| fsm_demo_bd.png
| project_src.png
| project_summary.png
| xdc_file.png
|
\---led_pattern_fsm
clk_div.v
led_pattern_asnyc.v
led_pattern_sync.v
- Create a new project and add the
led_pattern_sync.valong withclk_div.vand defileled_pattern_sync.vas the top module.
- Modify the
PYNQ-Z2 v1.0.xdcconstraints file according to your IOs in the board(PYNQ-Z2 used here in this example)
- Synthezize, Implement and get the bitstream generated. All the IO pin mapping and logic definition is taken care in the
.xdcfile.
- Alternatively, you can use the
.bitfile available here directly skipping to this stage. - Also,
led_pattern_async.vcan be run the same way along with respecive changes in thePYNQ-Z2 v1.0.xdcfile based on input and output parameters of the module. This doesn't requireclk_div.vto be wrapped.




