frequecy divider of digital signals

Status
Not open for further replies.

jas2005

Newbie level 5
Joined
Jan 2, 2009
Messages
10
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,368
Hi

I'm trying to build a simple model of frequency divider in simulink.
I used counter but now I need a block which can change the logic value to opposite on every rising edge.
So it should keep the 1 or 0 as long as edge occurs then make invertion.

Is a block like this in simulink?
 

it's not a problem with detecting egdes (there is even such block in simulink) and delaying signal after that.
My question is: can I find a described in first post, block in Simulink?
If not, how to build it?

===
The scheme is in the picture. I used counting both edges in order to obtain odd div number.
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…