Coding timinig relationship
Hi everybody! I have a question about coding&timing/delay relationship.
Considering a code like this
If these two codes have different hardware mapping, which of these two codes are faster?
Code 1 implies a register (thus a delay) for every created variable?
Code 2 implies only that a "wire" is taken from a source?
Sorry if it sounds a bit messy
Intermediate variables don't imply registers, so both codes should be exactly equivalent.
Variables only imply registers when their values are being read while they haven't previously been set in the same clock tick.
|All times are GMT. The time now is 03:27 PM.|
Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.