集成电路技术分享

 找回密码
 我要注册

QQ登录

只需一步,快速开始

搜索
查看: 1185|回复: 0

下面的语句为什么不能综合呢

[复制链接]
aouo1987 发表于 2011-3-31 12:56:35 | 显示全部楼层 |阅读模式
function[7:0] jic;
input[2:0] in3;
reg[2:0] index;
int
begin
  if(in3>5)
   jic=0;
        else
        jic=1;
  for(index=2;index<=in3;index=index+1)
   jic=jic*index;
end
endfunction
您需要登录后才可以回帖 登录 | 我要注册

本版积分规则

关闭

站长推荐上一条 /1 下一条

QQ|小黑屋|手机版|Archiver|集成电路技术分享 ( 京ICP备20003123号-1 )

GMT+8, 2024-5-18 19:25 , Processed in 0.062918 second(s), 19 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表