On Tuesday 15 February 2005 18:50, Timothy Miller wrote: > I'm a little confused. Are you using two tables to compute only one > reciprocal? Can you also compute another reciprocal at the same time?
Yes, because I read once from each table for a single reciprocal. Since they're both dual-ported, a second reciprocal can be calculated in parallel. It would do the second read from both tables. This is also cheaper than a normal interpolation, because you don't need to subtract to subsequent values, you can just get the difference from the second table. Additionally, I've simplified the multiplier by storing both the difference and the difference*3. That allows me to do a 2x10 multiplication using a single MUX. Doing the 6x10 multiplication of the difference by the fraction is then a matter of three MUXes and two adds. Well, just read the comments in the recp() function in my ttrecp.cpp. They describe exactly what the hardware should do. I think it should be quite cheap this way, but my hardware knowledge is limited to some experiments with VHDL on an Altera chip in my freshman year. Lourens _______________________________________________ Open-graphics mailing list [email protected] http://lists.duskglow.com/mailman/listinfo/open-graphics List service provided by Duskglow Consulting, LLC (www.duskglow.com)
