nova-master / LED-rotator

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

LED-rotator

using Shift-left and Shift-right register

Basys3-Xilinx-1000x755

To create a LED-Rotation using verilog

step 1.

created a module(LFSR.v) that can rotate data in bothe left and right direction based on control input.

Step2.

Out of 18-bit of this module. I used only middle 16-bit and discarded MSB and LSB.

step3.

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.

Step4.

Create a top block and use appropriate pin ogf the BASYS3 borad. and instantiate all nessasry module.

step 5.

create a testbench module (LFSR_tb.v) to check the  validate all signal using simulation.

step 6.

create a constrain file Basys3_![Uploading Basys3-Xilinx-1000x755.jpg…]()
Master.xdc (we carefull with pin number).

Generate bit stream and enjoy!

ShiftLAR.mp4

About


Languages

Language:HTML 26.0%Language:Verilog 25.2%Language:JavaScript 21.2%Language:Tcl 20.2%Language:Shell 6.6%Language:Batchfile 0.5%Language:Pascal 0.3%