Re: [Fx2lib-devel] Change sync delay macro (Daniel O'Connor)
Status: Beta
Brought to you by:
mulicheng
From: -t <tg...@ya...> - 2011-03-01 17:41:25
|
Message: 3 Date: Sat, 26 Feb 2011 16:35:36 +1030 From: "Daniel O'Connor" <doc...@gs...> Subject: [Fx2lib-devel] Change sync delay macro To: fx2lib developer mailing list <fx2...@li...> Message-ID: <238...@gs...> Content-Type: text/plain; charset="us-ascii" Hi, I modified SYNCDELAY to match the Cypress version - this is useful because GPIF designer generates code which calls it and it's a pain to re-edit the file each time you change your design. ---> Hi Daniel, sync delay is used in more places that just GPIF implemenations. Various registers are gated by different clock domains. When the CPU writes to these specific registers the contents may not be updated if the sync delay is not executed. The amount of delay is dependent on the two main clock domains. All the details of sync delay can be reviewed in the Cypress TRM. This one originally had me scratching my head for several days... Hope this helps :) <--- |