How to write a code to build a D flip flop?

3 views (last 30 days)
Negar
Negar on 14 Jan 2014
Answered: Thomas on 14 Jan 2014
I need a Linear Feedback Shift Register (LFSR) is able to generate a pseudo-random sequence.An LFSR is a shift register with feedback: so it should be a dynamic circuit (by dynamic I mean it must change with every value of input data) if it's not possible to write a code for D flip flop how can I make a changable circuit in simulink?

Answers (1)

Thomas
Thomas on 14 Jan 2014
You could use the D flip flop in simulink directly. http://www.mathworks.com/help/simulink/ref_extras/dflipflop.html

Categories

Find more on General Applications in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!