Search This Blog
Wednesday, 23 July 2014
Implement Divide by 2, 4, 8 and 16 Counter using Flip-Flop
Monday, 21 July 2014
Design 4-bit Linear Feedback Shift Register(LFSR) using Verilog Coding and Verify with Test Bench
Linear Feedback Shift Register is a sequential shift register with combinational feedback logic around it that causes it to pseudo randomly cycle through a sequence of binary values. Feedback around LFSR's shift register comes from a selection of points in the register chain and constitute either XORing or XNORing these points to provide point back into the register. The LFSR basically loops through repetitive sequences of pseudo random values. The maximum length of sequence is (2^n) - 1. Find out VHDL Code Here.
Saturday, 12 July 2014
Thursday, 10 July 2014
Friday, 4 July 2014
Verilog Code for Johnson Counter
Johnson Counter is one kind of Ring Counter. It is also known as Twisted Ring Counter. A 4-bit Johnson Counter passes blocks of four logic "0" and then passes four logic "1". So it will produce 8-bit pattern. For example, "1000" is initial output then it will generate 1100, 1110, 1111, 0111, 0011, 0001, 0000 and this patterns will repeat so on. Find VHDL Code here.
Sr. No.
|
Name of the Pin
|
Direction
|
Width
|
Description
|
1
|
Clk
|
Input
|
1
|
Clock Signal
|
2
|
Rst
|
Input
|
1
|
Reset Signal
|
3
|
Out
|
Output
|
4
|
Output Signal
|
Subscribe to:
Posts (Atom)