新手问:vhdl中,integer(n/2)是怎么用的?

[复制链接]
1645|0
 楼主| qq824314222 发表于 2012-12-26 13:14 | 显示全部楼层 |阅读模式
书上有个例子
if count < (integer(n/2) ) then
   outclk<='0';
else
   outclk<='1';
end if;
但是没有介绍为什么用integer(n/2),而不直接用(n/2)呢?
您需要登录后才可以回帖 登录 | 注册

本版积分规则

0

主题

13

帖子

0

粉丝
快速回复 在线客服 返回列表 返回顶部