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?

回答 (1 件)

Thomas
Thomas 2014 年 1 月 14 日

0 投票

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

カテゴリ

ヘルプ センター および File ExchangeGeneral Applications についてさらに検索

質問済み:

2014 年 1 月 14 日

回答済み:

2014 年 1 月 14 日

Community Treasure Hunt

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

Start Hunting!

Translated by