Coding style to improve timing
I am currently having problems closing timing on a design and I was hoping someone could advise me 2 different coding styles.
If I have some logic described as shown below in 2 different forms, which would be the most efficient as regards timing, and why?
if (signal_1 and signal_2(1) and not signal_3) = '1' then
if (signal_1 = '1') then
if (signal_2(1) = '1') then
if (signal_3 = '0') then
Many thanks for any advise. i ask because I have timing problems on certain paths, with only a small bit of negative slack to overcome. I am thinking that if I change the coding style in certain places, maybe it may help.
|All times are GMT. The time now is 05:15 PM.|
Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.