求问VHDL中自带了除法运算的吗?

shaoqikai1234 2011-04-12 09:59:01
LZ是新手,玩各位牛人解答的详细一点
...全文
552 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
jnwsh 2011-04-13
  • 打赏
  • 举报
回复
vhdl是一种硬件描述语言,怎么会带除法器。除法器是综合或者仿真时相应library支持的,这个lib也可以自己建
哈皮歪詩 2011-04-13
  • 打赏
  • 举报
回复
Division is different from addition and multiplication in that there is no good way to do division in hardware. Unlike addition or multiplication, where there are solutions like CLA (Carrier look ahead), CSA (Carry Save Adder) etc, it is always a hassle to do division. For many synthesizers, they are smart enough to extract adder and multiplier and map them to the default library (It is especially true for FPGA, which has built-in adder and multipliers), but they might frown upon division. So it is ok to do something like "a <= b * c;" in your VHDL code, but for division, it is better to do it explicitly with a library mapping.

1,075

社区成员

发帖
与我相关
我的任务
社区描述
硬件/嵌入开发 非技术区
社区管理员
  • 非技术区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧