- Answer whether this optimization is feasible and beneficial in hardware.
Interview Question
Written by
Friday, August 31, 2007
2
Some software programming languages allow compilers to perform "short cut" or "short circuit" optimizations on AND and OR operations. In a short-cut AND or OR, the second argument is not evaluated if the first argument evaluates to a controlling value. For example, in evaluating f(x) AND g(y), if f(x) is false, then g(y) will not be evaluted.
I think so, it should not be a problem, HDL's do use short circuit evaluation, is that right?
ReplyDeleteI disagree. Programming is software oriented. It is a problem of base mobility.
ReplyDelete