Below are the basic commands in constraint file.
1. current_instance -- Sets the current instance of design.
Example - /design/ins1/moduleA
2. set_hierarchy_separator -- Specifies the hierarchy separator used in SDC file.
Example -
set_hierarchy_separator .
set_hierarchy_separator /
all_clocks
all_inputs
all_outputs
all_registers -clock CLK1
current_design
create_clock
This will define the clock , simple syntax to define clock is
create_clock -period [get_ports <CLK>]
user can define custom clock also, like define the duty cycle if it is not 50/50. also one can define the multiple rising edge , falling edge within one clock period using -waveform {.. ,..}
create_generated_clock
A generated clock is a clock derived from a master clock. master clock is define using create_clock.
In Design , in clocking architecture, multiple clock can be derived from one master clock, and generated could be a divided version of master clock or could be a multiplier version of master clock. either one can be defined using -multiply_by or -divide_by option.
set_clock_latency
There are two types of clock latency ,
1. source latency - also called insertion delay , this is the delay from clock source to clock definition point.
2. network latency - network latency is the delay from clock definition point to the clock input of flop.
The total clock latency is the sum of both , network latency and source latency.example is given below.
# Rise clock latency on CLK_A is 1ns:
set_clock_latency 1.0 -rise [get_clocks CLK_A]
# Fall clock latency on all clocks is 1.2ns:
set_clock_latency 1.2 -fall [all_clocks]
clock latency |
set_clock_sense
set_clock_uncertainty
clock uncertainty is the time in clock period which used to model clock jitter and other pessimism factor during the timing analysis.
Example -
set_clock_uncertainty -setup 0.1 [get_clocks CLK_A]
set_clock_uncertainty -hold 0.05 [get_clocks CLK_A]
set_data_check
set_disable_timing
set_false_path
set_ideal_latency
set_ideal_network
set_ideal_transition
set_input_delay
set_max_delay
set_max_time_borrow
set_min_delay
set_multicycle_path (important one)
set_output_delay
set_case_analysis
set_driving_cell
set_fanout_load
set_load
set_max_fanout
set_max_transition
set_operating_condition (optional)
set_clock_groups
You can use either one of option depends on the functionality and clock muxing in design.
physically_exclusive means that particular clocks will never be present physically at the same time , logically_exclusive means particular clocks will be available but will never used at the same time. this helps in crosstalk analysis between the clocks , as if clocks are physically available on board then there will be noise and crosstalk associated with it.
set_false_path is having the same thing as logically_exclusive , either one of them can be used to remove false paths from timing analysis and reports.
1.) Looks like you are mixing set_false_path and set_clock_groups. Both of them are very different and typically you don't need both at the same time in a certain section of the design.
All 3 options i.e. -asyn -phys_excl and -logic_exl will cause no paths to show up. So there is no need for an explicit false path if you are able to use set_clock_groups.
2.) The differenece between -async and -log_excl is in the way, PT handles crosstalk analysis.
If 2 clocks are async, it means that they don't have any phase relationship at all. So instead of using definite timing windows based on arrival times/skew etc, the tool will use infinite timing windows when calculating aggressors and victims,
When you use -logic_excl switch, it still means that no timing paths will show up, however crosstalk analysis will be done with regular timing windows based on arrival times/skew etc.
Practical Example of Timing Constraint like on I2C/SPI/etc
----------------------
There is definately a great deal to learn about this
ReplyDeleteissue. I like all of the points you made.
I could not resist commenting. Well written!
ReplyDeleteThis comment has been removed by a blog administrator.
ReplyDeleteThis comment has been removed by a blog administrator.
ReplyDeleteThis comment has been removed by a blog administrator.
ReplyDeleteThis comment has been removed by a blog administrator.
ReplyDeleteThis comment has been removed by a blog administrator.
ReplyDeleteThis comment has been removed by a blog administrator.
ReplyDeleteThis comment has been removed by a blog administrator.
ReplyDeleteThis comment has been removed by a blog administrator.
ReplyDeleteThis comment has been removed by a blog administrator.
ReplyDeleteThis comment has been removed by a blog administrator.
ReplyDeleteThis comment has been removed by a blog administrator.
ReplyDeleteThis comment has been removed by a blog administrator.
ReplyDeleteThis comment has been removed by a blog administrator.
ReplyDeleteThis comment has been removed by a blog administrator.
ReplyDeleteThis comment has been removed by a blog administrator.
ReplyDeleteThis comment has been removed by a blog administrator.
ReplyDeleteThis comment has been removed by a blog administrator.
ReplyDeleteThis comment has been removed by a blog administrator.
ReplyDeleteThis comment has been removed by a blog administrator.
ReplyDeleteThis comment has been removed by a blog administrator.
ReplyDeleteThis comment has been removed by a blog administrator.
ReplyDeleteThis comment has been removed by a blog administrator.
ReplyDeleteThis comment has been removed by a blog administrator.
ReplyDeleteThis comment has been removed by a blog administrator.
ReplyDeleteThis comment has been removed by a blog administrator.
ReplyDeleteThis comment has been removed by a blog administrator.
ReplyDeleteThis comment has been removed by a blog administrator.
ReplyDeleteThis comment has been removed by a blog administrator.
ReplyDeleteThis comment has been removed by a blog administrator.
ReplyDeleteThis comment has been removed by a blog administrator.
ReplyDeleteThis comment has been removed by a blog administrator.
ReplyDeleteThis comment has been removed by a blog administrator.
ReplyDeleteThis excellent website definitely has all of the information I wanted
ReplyDeleteconcerning this subject and didn’t know
who to ask.
This comment has been removed by a blog administrator.
ReplyDeleteThis comment has been removed by a blog administrator.
ReplyDeleteThis comment has been removed by a blog administrator.
ReplyDeleteThis comment has been removed by a blog administrator.
ReplyDeleteThis comment has been removed by a blog administrator.
ReplyDeleteThis comment has been removed by a blog administrator.
ReplyDeleteThis comment has been removed by a blog administrator.
ReplyDeleteThis comment has been removed by a blog administrator.
ReplyDeleteThis comment has been removed by a blog administrator.
ReplyDeleteThis comment has been removed by a blog administrator.
ReplyDeleteThis comment has been removed by a blog administrator.
ReplyDeleteThis comment has been removed by a blog administrator.
ReplyDeleteThis comment has been removed by a blog administrator.
ReplyDeleteThis comment has been removed by a blog administrator.
ReplyDeleteThis comment has been removed by a blog administrator.
ReplyDeleteThis comment has been removed by a blog administrator.
ReplyDeleteThis comment has been removed by a blog administrator.
ReplyDeleteThis comment has been removed by a blog administrator.
ReplyDeleteThis comment has been removed by a blog administrator.
ReplyDeleteThis comment has been removed by a blog administrator.
ReplyDeleteThis comment has been removed by a blog administrator.
ReplyDeleteThis comment has been removed by a blog administrator.
ReplyDeleteThis comment has been removed by a blog administrator.
ReplyDeleteThis comment has been removed by a blog administrator.
ReplyDeleteThis comment has been removed by a blog administrator.
ReplyDeleteThis comment has been removed by a blog administrator.
ReplyDeleteThis comment has been removed by a blog administrator.
ReplyDeleteThis comment has been removed by a blog administrator.
ReplyDeleteThis comment has been removed by a blog administrator.
ReplyDeleteThis comment has been removed by a blog administrator.
ReplyDeleteThis comment has been removed by a blog administrator.
ReplyDeleteThis comment has been removed by a blog administrator.
ReplyDeleteThis comment has been removed by a blog administrator.
ReplyDeleteThis comment has been removed by a blog administrator.
ReplyDeleteThis comment has been removed by a blog administrator.
ReplyDeleteThis comment has been removed by a blog administrator.
ReplyDeleteThis comment has been removed by a blog administrator.
ReplyDeleteThis comment has been removed by a blog administrator.
ReplyDeleteThis comment has been removed by a blog administrator.
ReplyDeleteThis comment has been removed by a blog administrator.
ReplyDeleteI used to be able to find good advice from your articles.
ReplyDeleteThis is a topic which is near to my heart... Cheers!
ReplyDeleteExactly where are your contact details though?
It’s hard to find knowledgeable people in this particular subject, however, you seem like you know what you’re talking about!
ReplyDeleteThanks
You are so awesome! I don't think I have read through a single thing like this before.
ReplyDeleteSo nice to discover another person with genuine thoughts on this
topic. Seriously.. thanks for starting this up. This site is one thing that's needed on the web,
someone with a little originality!
Hi, I do think this is an excellent site. I stumbledupon it ;) I am going to revisit
ReplyDeleteyet again since I bookmarked it. Money and freedom is the
greatest way to change, may you be rich and continue to
guide others.
Saved as a favorite, I really like your blog!
ReplyDeleteAfter exploring a handful of the blog articles
ReplyDeleteon your web page, I honestly appreciate your technique of writing a blog.
I bookmarked it to my bookmark webpage list and
will be checking back in the near future. Please visit my web
site too and let me know how you feel.
After checking out a few of the blog articles on your site,
ReplyDeleteI really like your technique of blogging. I added it to my
bookmark webpage list and will be checking back soon. Take a look at my
web site as well and let me know how you feel.
Spot on with this write-up, I seriously think this web site needs much more
ReplyDeleteattention. I’ll probably be back again to read more,
thanks for the information!
I was more than happy to uncover this great site. I wanted to thank you for ones time for this
ReplyDeletefantastic read!! I definitely really liked every bit of it and
I have you book marked to see new information on your site.
I couldn’t resist commenting. Exceptionally well written!
ReplyDeleteGreat post. I am facing many of these issues as well..
ReplyDeleteThis is a topic that is near to my heart... Thank you! Where are your contact details
ReplyDeletethough?
This is the perfect blog for anyone who wants to find out about this topic.
ReplyDeleteYou realize a whole lot its almost tough to argue with you (not that I actually will need to…HaHa).
You definitely put a brand new spin on a subject that's
been discussed for many years. Great stuff, just wonderful!
Can I simply say what a comfort to find somebody who truly knows what they're talking about on the
ReplyDeletenet. You certainly understand how to bring a problem to light and
make it important. More people must look at this and understand this side of
your story. It's surprising you're not more popular
given that you certainly have the gift.
Everything is very open with a precise explanation of the issues.
ReplyDeleteIt was definitely informative. Your site is very helpful.
Thank you for sharing!
Having read this I thought it was rather enlightening.
ReplyDeleteI appreciate you finding the time and energy to put this
information together. I once again find myself spending a
significant amount of time both reading and commenting.
But so what, it was still worthwhile!
Hello there! I just wish to offer you a huge thumbs up for the excellent information you've got right here on this post.
ReplyDeleteI am returning to your website for more soon.
Greetings! Very helpful advice in this particular post! It is the little changes that make the
ReplyDeletelargest changes. Many thanks for sharing!
Hi there, There's no doubt that your blog could possibly be having web browser compatibility issues.
ReplyDeleteWhenever I look at your blog in Safari, it looks fine
however, when opening in Internet Explorer,
it's got some overlapping issues. I simply wanted
to give you a quick heads up! Other than that, wonderful site!
Howdy! This blog post couldn’t be written much
ReplyDeletebetter! Looking through this article reminds me of my previous roommate!
He constantly kept preaching about this. I'll forward this article
to him. Fairly certain he's going to have a very good read.
Thank you for sharing!
Aw, this was an extremely nice post. Taking a few minutes and actual effort to generate
ReplyDeletea superb article… but what can I say… I hesitate a whole
lot and don't manage to get anything done.
This blog was... how do I say it? Relevant!! Finally I've
ReplyDeletefound something that helped me. Thanks!
Everything is very open with a very clear description of the challenges.
ReplyDeleteIt was really informative. Your website is very useful.
Thanks for sharing!
This website was... how do I say it? Relevant!!
ReplyDeleteFinally I've found something which helped me. Kudos!
A motivating discussion is definitely worth comment. I do believe that you need to write more on this topic, it
ReplyDeletemay not be a taboo subject but typically folks don't discuss such issues.
To the next! Cheers!!
I'd like to thank you for the efforts you've put
ReplyDeletein writing this blog. I'm hoping to view the same high-grade content from
you later on as well. In truth, your creative writing abilities
has inspired me to get my very own website now ;)
You made some good points there. I looked on the web for more info about the issue and found most people will go along with your views on this web site.
ReplyDeleteThis excellent website certainly has all the information I
ReplyDeleteneeded about this subject and didn’t know who to ask.
Can I just say what a comfort to discover someone who genuinely understands what they are talking about on the web.
ReplyDeleteYou actually understand how to bring a problem to light and make it
important. More people should read this and understand this side of
the story. I can't believe you're not more popular because
you certainly possess the gift.
This website was... how do I say it? Relevant!!
ReplyDeleteFinally I have found something that helped me. Appreciate it!
I needed to thank you for this great read!! I definitely loved every bit of it.
ReplyDeleteI have got you saved as a favorite to check out new stuff you post…
I’m amazed, I have to admit. Seldom do I
ReplyDeletecome across a blog that’s equally educative and interesting, and let me tell you, you have hit the nail on the head.
The issue is an issue that not enough men and women are speaking intelligently about.
Now i'm very happy I came across this in my hunt for something concerning this.
I blog often and I seriously appreciate your information. This great article has truly peaked my interest.
ReplyDeleteI am going to bookmark your site and keep checking for new information about once per week.
I subscribed to your RSS feed as well.
bookmarked!!, I really like your blog!
ReplyDeleteWonderful article! We are linking to this particularly great article on our website.
ReplyDeleteKeep up the good writing.
I love reading an article that will make men and women think.
ReplyDeleteAlso, thank you for allowing me to comment!
Can I simply say what a relief to uncover someone that genuinely knows
ReplyDeletewhat they are talking about on the net. You actually realize
how to bring an issue to light and make it important.
More and more people really need to check this out and understand this side of the story.
I was surprised that you are not more popular given that you
definitely have the gift.
Great info. Lucky me I ran across your site by chance (stumbleupon).
ReplyDeleteI've book marked it for later!
Having read this I believed it was very
ReplyDeleteinformative. I appreciate you spending some time and energy to put this short
article together. I once again find myself spending a lot of time both reading and commenting.
But so what, it was still worthwhile!
There is definately a lot to find out about this issue. I really like
ReplyDeleteall the points you've made.
This is a great tip especially to those fresh to the blogosphere.
ReplyDeleteBrief but very precise information… Thanks for sharing this one.
A must read post!
An outstanding share! I have just forwarded this onto a co-worker who had been conducting a little homework on this.
ReplyDeleteAnd he actually ordered me lunch simply because
I discovered it for him... lol. So let me reword this....
Thank YOU for the meal!! But yeah, thanks for spending time to talk about this topic here on your blog.
Greetings! Very helpful advice within this
ReplyDeletepost! It's the little changes that produce the biggest changes.
Thanks for sharing!
Aw, this was an incredibly good post. Spending some time and actual effort
ReplyDeleteto make a superb article… but what can I say… I put things off a lot and never seem to get anything done.
I enjoy reading a post that will make men and women think.
ReplyDeleteAlso, thanks for allowing for me to comment!
Great site you've got here.. It’s hard to find quality writing like
ReplyDeleteyours nowadays. I seriously appreciate individuals like you!
Take care!!
This is a topic which is near to my heart... Many thanks!
ReplyDeleteExactly where are your contact details though?
I blog quite often and I seriously appreciate your content.
ReplyDeleteThis article has really peaked my interest. I will take a note of your site and keep checking for new information about once
a week. I opted in for your Feed as well.
Great article. I am facing some of these issues as well..
ReplyDeleteThe very next time I read a blog, I hope that it won't disappoint me as much as this particular one.
ReplyDeleteAfter all, I know it was my choice to read through, however I genuinely believed you'd
have something interesting to talk about. All I hear is a bunch of crying about something that you could fix if you weren't
too busy seeking attention.
Spot on with this write-up, I absolutely feel this web site needs much more
ReplyDeleteattention. I’ll probably be returning to read more, thanks for the advice!
The next time I read a blog, I hope that it won't disappoint me just as much as this
ReplyDeleteparticular one. I mean, Yes, it was my choice to read through, however I actually believed you
would have something useful to talk about.
All I hear is a bunch of complaining about something you can fix if you weren't too busy searching
for attention.