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 ago --- Quote Start --- I tought mabe there is a solution i know nothing about, even i don't think this is possible. --- Quote End --- Nothing is impossible (ok, let's say almost nothing...). There are a few ways to do what you need, but this depends on some unspecified details; for example: - where ck1 and ck2 come from? (external? generated from fpga?) - is there a fixed phase relation between them - what can you change and what not In the worst case where ck1 and ck2 run independently and you don't have a higher frequency clock, your signals would necessarily suffer a time uncertaintly up to the maximum among ck1 and ck2 period. This is unavoidable. You can reduce it to half by sampling on both edges, but I would not recommend this.