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

8 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?

Community Treasure Hunt

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

Start Hunting!