l**p 发帖数: 290 | 1 If block A has clock A and block B has clock B.
Clock A and clock B have different frequencies.
What do you do to move a 16-bit data from block A to block B?
请有经验的大侠指教一下。谢谢! | m*******i 发帖数: 104 | 2 classic interview question.
Depending on the speed of the two clocks, you could have different solutions.
A general solution is using FIFO. | T******T 发帖数: 3066 | 3 Couple of ways:
Best way:
1) Use 16 bit x N deep Async FIFO with CLKA as input clk, CLKB as
output clk.
more complicated way, but less gates:
2) Use a handshake mechanism, send a REQ signal from A->B
(synchronized),
hold the databus, then wait for an ACK to sync back to A domain before
proceeding to update the databus.
Bad way:
3) Gray code the databus, then send the full 16bits from A-domain
through 2-3 stages of meta flops for each bit to B-domain. | A***J 发帖数: 478 | |
|