|
发表于 2012-12-16 19:36:48
|
显示全部楼层
There are many ways to implement a multiplier or a divider. If you have small operand size (for example, 8bit) then you can probably do that with LUT that store all possible outcomes in a ROM. however, if you have big operand size (for example, 32bit) then you might need a good algorithm to do that. A popular circuit synthesizer (for example, DC) has already implemented optimized algorithms in its database and you don't have to implement your own. Just write * or / in your RTL will do. |
|