Hi All, I am designing my first real clock domain crossing circuit. My problem is a high speed wrapper for a low speed device. What is the general approch to be followed. I will tell you my approch and please correct me if needed. The high speed wrapper will write to its registers at 100MHz. First i am converting this registers to 1MHz domain, using two flops both using a 1MHz clock. Now the data is safe in the 1MHz domain(And then i will run some 1MHz state machine using this data). But the problem is with the write at the first domain. We can have upto 50 writes (a write wil lhappen only in two cycles) in the wrapper registers. For this we can take the latest value to the 1MHz domain. But we must indicate to the 1MHz domain that there was a write in the wrapper in any of these possible 50 cycles. If any cycle was a write then in the
1MHz domain we must restart the state machine. How this is possible. I hope i have made myself clear. I cant describe the correct usage since it is company related things. __ __ __ __ __ __ __ __ __ __ __ __ __ _| |__| |__| |__| |__| |__| |__| |__| |__| |__| | __| |__| |__| |__________ ________ ________ ________ | |_________| |_________| | _________| |_________ ________ ________ ________ __________________| |_________| | _________| |_________