using Shift-left and Shift-right register
To create a LED-Rotation using verilog
created a module(LFSR.v) that can rotate data in bothe left and right direction based on control input.
Out of 18-bit of this module. I used only middle 16-bit and discarded MSB and LSB.
Slow down the clock frequency using qsec_clks.v , because this BASYS3 borad having very high frequency.
and at that speed , a human eye can not capture the rotation.
Create a top block and use appropriate pin ogf the BASYS3 borad. and instantiate all nessasry module.
create a testbench module (LFSR_tb.v) to check the validate all signal using simulation.
create a constrain file Basys3_![Uploading Basys3-Xilinx-1000x755.jpg…]()
Master.xdc (we carefull with pin number).