Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)

ckeck clock existent

Altera_Forum
Honored Contributor II
1,337 Views

Hello, 

I have two clock domains in my design 1. variable clock ~64Mhz (driven from external pll) 

2. 100mhz stable clock. 

 

Does anybody have an idea how to check clock 64M existent ( without attaching it to a pll) ??  

 

sampling 64M with 100Mhz will creat a metastability. 

 

thanks
0 Kudos
2 Replies
Altera_Forum
Honored Contributor II
483 Views

Yes it will create a metastability, that you can control by using several registers in cascade, all clocked at 100MHz. 3 stages should be enough. Just Google a bit for "clock domain crossing".

0 Kudos
Altera_Forum
Honored Contributor II
483 Views

This is what I did, I sampled ~64Mhz clock with the stable 100Mhz. 3 samples. 

I made a shift register with 5 stages. after that I compared the 5bit vector to "11111" or "00000" . if its true it means there is no toggling in 64Mhz. 

Many thanks
0 Kudos
Reply