Dear Mike and BadOmen,
Thank you very much for teaching me many possibilities.
Quote(Mike DeSimone @ Posted Oct 7 2005, 11:02 AM)
> And, if you somehow optimized function1 to take zero execution time(!),
> you'd still only get a 10% speedup.
Yes, it's true...very true... but still...
I thought I could get much speedup, let's say, 95% speedup by
turning whole function1 into VHDL. When I can get 9.5% (0.1 x 0.95)
speedup by function1, it would make the rest considerably easier.
Well..., was I too optimistic? Do you think 95% speedup unusual?
It wouldn't be worth even trying?
I'm now reading "Avalon Bus Specification". Thank you for mentioning
"Avalon Slave (registers)", "Avalon Master port", and so on.
This mentioning is really helping me. So far, "Streaming Transfer"
looks promising, although obviously I need (much) more reading.
Quote(Mike DeSimone @ Posted Oct 7 2005, 11:02 AM)
> Is this function1 at 10% the heaviest-use function in the system?
Yes. This function1 is most frequently used. In addition to that,
it's far simpler than other functions. Because these functions were
all written by other people, simplicity is very important factor to me
when rewriting.
As for speeding up the system clock or multi-processor are not
the options at this moment. But the fact your recommending these
rather than "Avalon Bus component" is interesting. It means
that they are more preferable for the experts like you, right?
Quote(BadOmen @ Posted Oct 7 2005, 12:38 PM)
> I would look through the code to see if you have any calculations
> (not just functions) that are used often that do not run fast on your
> system (maybe they lend themselves well to a custom instruction)
Ah, right. "calculations(not just functions)" yes.
I overlooked the basic fact that even when a function has some
difficulties such as "recursive part", "structures", other parts of the
function can be turned into VHDL. In fact, the status of function1
is exactly this... but still, I overlooked it. What a tunnel vision!
It must be worth checking. Thank you for pointing it out.
Cheers,
shino