Clear Filters
Clear Filters

Info

This question is closed. Reopen it to edit or answer.

Problem in checking the D Flipflop Block, Simulink

1 view (last 30 days)
Hi, I wanted to check the D Flipflop block in simulink. So I provided a pulse input and a clock to it. There is a 3rd input called the !CLR. It is mentioned in the page that * "On the positive (rising) edge of the clock signal, if the block is enabled (!CLR is greater than zero), the output Q is the same as the input D"*. I gave the inputs and I don't get the desired output that if the clock is high, the output follows the input and remains in the same state until next rising clock. The d flipflop block doesn't behave in this sense. I have attached an image here of. The 1st signal is the input 'D'. 2nd is the clock. 3rd is the output and 4th signal is the !CLR. Please point to me on where I am going wrong.
Thanks Ram

Answers (0)

This question is closed.

Tags

Community Treasure Hunt

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

Start Hunting!