Forum Discussion
Altera_Forum
Honored Contributor
15 years agoHandshake problem
Hi. I have a problem designing a handshake sistem. I think it's imposible to do it to the tasks. I must have two different clocks. For instance ck1 with a period of 7 and clock 2 with a period of 5. ...
Altera_Forum
Honored Contributor
15 years agoI'm not sure I understand what you mean.
If ck1 and ck2 are unrelated, i.e. without an exact phase relation, using them to directly clock the system could lead you to unexpected behaviour. You'd better use a single clock. For example, if ck1/ck2 frequencies are not so high and if you can generate extra clocks with a pll, you can create a single clock with a period of 1 and use it instead of ck1 and ck2. This approach would require minor changes in your Timer and PulseGen modules, but it would lead to a more robust design.