Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Question about clock domain synchronous

Status
Not open for further replies.

EDA_hg81

Advanced Member level 2
Joined
Nov 25, 2005
Messages
507
Helped
2
Reputation
4
Reaction score
2
Trophy points
1,298
Activity points
4,808
I have a master clock 4MHZ and another clock 200KHZ generated by master clock.

At the beginning, Master clock domain will enable 200KHZ clock domain by latching an enable signal “eni2c”. If the 200KHZ clock domain received “eni2c” signal, 200KHZ domain will finish programming EEPROM, after that 200KHZ will latch a signal”i2cdone” to trigger master clock domain i2c programming is done.

When master clock domain received the signal “i2cdone”, it will lower “eni2c” signal therefore 200KHZ clock domain will be disabled.

In my mind, the signals “i2cdone” and “eni2c” can be received reliable by two clock domains.

But when I used scope to check, 200KHZ domain block is not trigged sometime.

What is the reason for this?

Thank you for you any suggestions.
 

Maybe you should try a Post Place and Route Simulation with something like ISE Simulator. I had the same problem with a Pulse Generator and after running Post Place and Route. I found sometimes the setup time may not be enough. So Try it and Good Luck.

Added after 40 seconds:

Also ppl can help better if you give the code.
 

    EDA_hg81

    Points: 2
    Helpful Answer Positive Rating
Thank you so much.

I will try it and I am using Quartus II.

Added after 2 minutes:

If you want the code, Please let me know your Email address.

I have used Quartus to simulate, the simulations are good.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top