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

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?

Categories

Find more on General Applications in Help Center and File Exchange

Asked:

on 14 Jan 2014

Answered:

on 14 Jan 2014

Community Treasure Hunt

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

Start Hunting!