- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
i have a design that require to run on variable frequency of clk(sampling rate), in the range of 8kHz to 216kHz.
My question are: 1. How to write the sdc? 2. Other than sdc, is there any thing(circuit, etc) need to be take care or add in?Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I would expect the "variable frequency" sampling clock implemented as a synchronous clock enable, generated by a clock divider. In this case, no additional timing constraints are involved, because the timing is completey based on the system clock.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
--- Quote Start --- I would expect the "variable frequency" sampling clock implemented as a synchronous clock enable, generated by a clock divider. In this case, no additional timing constraints are involved, because the timing is completey based on the system clock. --- Quote End --- It;s a good idea
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
However, my system clk is changing according to n(integer) X fs. Don't you think to add timing constraint?
if yes, how? if no. thanks- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The suggestion is to use a fixed system clock (e.g. 50 MHz) and a variable rate clock enable. The timing requirements don't change with the clock enable rate.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The system architecture is decided. It is impossible for me to change it.
FYI, The system clock is changed on the fly once the user enter through GUI. I think that there is no problem in digital design since it is just connected to the pin of register. Some delay may impact. The problem is i have no idea to proceed with the Time Quest Analysis without knowing the method to write the sdc file. Any help will be appreciated.- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Using a divided clock is usually unsuitable, particularly because crossing timing domains can cause timing violations. But if all design logic, except for the clock divider, is run at the divided frequency, in other words, no signal is crossing the timing domains, the analysis is trivial.
You may want to start with the classical timing analyser and specify the input frequency to the clock divider. As long as there are no external inputs or outputs, that need to be constrained, this should be sufficient.- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
--- Quote Start --- Using a divided clock is usually unsuitable, particularly because crossing timing domains can cause timing violations. But if all design logic, except for the clock divider, is run at the divided frequency, in other words, no signal is crossing the timing domains, the analysis is trivial. You may want to start with the classical timing analyser and specify the input frequency to the clock divider. As long as there are no external inputs or outputs, that need to be constrained, this should be sufficient. --- Quote End --- http://ifile.it/konx0eg/icao_fpga.schdoc You can check my design to creat pulse using MAX7000S... Thanks so much
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
FvM,
Different clock divider will run on different module. So, there are signal across different time domain. In this state, classical timing analysis is still useful for my case?- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
--- Quote Start --- Different clock divider will run on different module --- Quote End --- I think, it should handle the internal timing as well. But this fact increases my doubts about your "system architecture" being well considered. (I'm tempted to call it a "no-architecture"). Check the results and be prepared to reconsider the design in time.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Actually, the pll inside can't handle the the sampling freq, fs like 44.xxxx kHz where the internal PLL(FPGA) can't divide it to the required freq(with fix point) due to limited no. of bits of multiplier and divider(9 bit).
In order to fix it, it need a PLL (with more than 9 bit), dsp chip to divide and multiply. thanks
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page