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

4 次查看(过去 30 天)
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?

回答(1 个)

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

类别

Help CenterFile Exchange 中查找有关 General Applications 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by