专家
公告
财富商城
电子网
旗下网站
首页
问题库
专栏
标签库
话题
专家
NEW
门户
发布
提问题
发文章
FPGA
fpga编译警告问题
2019-07-16 02:07
发布
×
打开微信“扫一扫”,打开网页后点击屏幕右上角分享按钮
站内问答
/
FPGA
3185
8
909
那位大哥帮忙看下这个编译警告怎样解决啊;谢谢了!
Warning (10631): VHDL Process Statement warning at ac
ti
on.vhd(163): inferring latch(es) for signal or variable "data1", which holds its previous value in one or more paths through the process
友情提示:
此问题已得到解决,问题已经关闭,关闭后问题禁止继续编辑,回答。
该问题目前已经被作者或者管理员关闭, 无法添加新回复
8条回答
lstcspring
1楼-- · 2019-07-16 02:15
代码贴上来,IO信号接得有问题
加载中...
shinfo
2楼-- · 2019-07-16 06:15
p2: process(cnt,see_temp)
begin
if see_temp='0' then
data1 <=30000;
data2 <=40000;
data3 <=50000;
data4 <=60000;
data5 <=70000;
data6 <=80000;
data7 <=90000;
data8 <=100000;
data9 <=110000;
data10<=120000;
else
case cnt is --The robot perform actions data
when 0 =>
data1 <=30000;
data2 <=40000;
data3 <=50000;
data4 <=60000;
data5 <=70000;
data6 <=80000;
data7 <=90000;
data8 <=100000;
data9 <=110000;
data10<=120000;
when 1 =>
data1 <=30000;
data2 <=40000;
data3 <=50000;
data4 <=60000;
data5 <=70000;
data6 <=80000;
data7 <=90000;
data8 <=100000;
data9 <=110000;
data10<=120000;
when 2 =>
data1 <=30000;
data2 <=40000;
data3 <=50000;
data4 <=60000;
data5 <=70000;
data6 <=80000;
data7 <=90000;
data8 <=100000;
data9 <=110000;
data10<=120000;
when 3 =>
data1 <=30000;
data2 <=40000;
data3 <=50000;
data4 <=60000;
data5 <=70000;
data6 <=80000;
data7 <=90000;
data8 <=100000;
data9 <=110000;
data10<=120000;
when 4 =>
data1 <=30000;
data2 <=40000;
data3 <=50000;
data4 <=60000;
data5 <=70000;
data6 <=80000;
data7 <=90000;
data8 <=100000;
data9 <=110000;
data10<=120000;
when 5 =>
data1 <=30000;
data2 <=40000;
data3 <=50000;
data4 <=60000;
data5 <=70000;
data6 <=80000;
data7 <=90000;
data8 <=100000;
data9 <=110000;
data10<=120000;
when 6 =>
-- data1 <=30000;
-- data2 <=40000;
-- data3 <=50000;
-- data4 <=60000;
-- data5 <=70000;
-- data6 <=80000;
-- data7 <=90000;
-- data8 <=100000;
-- data9 <=110000;
-- data10<=120000;
-- when 7 =>
-- data1 <=30000;
-- data2 <=40000;
-- data3 <=50000;
-- data4 <=60000;
-- data5 <=70000;
-- data6 <=80000;
-- data7 <=90000;
-- data8 <=100000;
-- data9 <=110000;
-- data10<=120000;
-- when 8 =>
-- data1 <=30000;
-- data2 <=40000;
-- data3 <=50000;
-- data4 <=60000;
-- data5 <=70000;
-- data6 <=80000;
-- data7 <=90000;
-- data8 <=100000;
-- data9 <=110000;
-- data10<=120000;
-- when 9 =>
-- data1 <=30000;
-- data2 <=40000;
-- data3 <=50000;
-- data4 <=60000;
-- data5 <=70000;
-- data6 <=80000;
-- data7 <=90000;
-- data8 <=100000;
-- data9 <=110000;
-- data10<=120000;
when others=>
data1 <=30000;
data2 <=40000;
data3 <=50000;
data4 <=60000;
data5 <=70000;
data6 <=80000;
data7 <=90000;
data8 <=100000;
data9 <=110000;
data10<=120000;
end case;
end if;
end process p2;
加载中...
shinfo
3楼-- · 2019-07-16 10:46
data1,data2,data3.......data10都是数据,see_temp是使能信号
加载中...
shinfo
4楼-- · 2019-07-16 12:41
精彩回答 2 元偷偷看……
加载中...
ytphrx
5楼-- · 2019-07-16 15:34
明显data1....是信号,不能直接赋整数值.只能是二进制,8进制,16进制的字符串.也就是说<=两边的数据类型不匹配啊.
加载中...
ytphrx
6楼-- · 2019-07-16 16:00
例如:data1<="010101",或者data1<=O"176",或者data1<=x"AD0"等.
加载中...
1
2
下一页
一周热门
更多
>
相关问题
如何用FPGA驱动LCD屏?
5 个回答
请教一下各位专家如何用FPGA做eDP接口?
6 个回答
FPGA CH7301c DVI(显示器数字接口)没有数字输出
7 个回答
100颗FPGA的板子,开开眼界
6 个回答
求教自制最小系统版
10 个回答
基于FPGA的X射线安检设备控制器
2 个回答
CycolneIVGX核心板,可扩展PCIE,光纤接口,大家来鉴赏一下
6 个回答
关于VHDL或Verllog程序稳定性的问题
11 个回答
相关文章
嵌入式领域,FPGA的串口通信接口设计,VHDL编程,altera平台
0个评论
Xilinx的FPGA开发工具——ISE开发流程
0个评论
基于FPGA的详细设计流程
0个评论
干货分享,FPGA硬件系统的设计技巧
0个评论
一种通过FPGA对AD9558时钟管理芯片进行配置的方法
0个评论
×
关闭
采纳回答
向帮助了您的网友说句感谢的话吧!
非常感谢!
确 认
×
关闭
编辑标签
最多设置5个标签!
FPGA
保存
关闭
×
关闭
举报内容
检举类型
检举内容
检举用户
检举原因
广告推广
恶意灌水
回答内容与提问无关
抄袭答案
其他
检举说明(必填)
提交
关闭
×
关闭
您已邀请
15
人回答
查看邀请
擅长该话题的人
回答过该话题的人
我关注的人
begin
if see_temp='0' then
data1 <=30000;
data2 <=40000;
data3 <=50000;
data4 <=60000;
data5 <=70000;
data6 <=80000;
data7 <=90000;
data8 <=100000;
data9 <=110000;
data10<=120000;
else
case cnt is --The robot perform actions data
when 0 =>
data1 <=30000;
data2 <=40000;
data3 <=50000;
data4 <=60000;
data5 <=70000;
data6 <=80000;
data7 <=90000;
data8 <=100000;
data9 <=110000;
data10<=120000;
when 1 =>
data1 <=30000;
data2 <=40000;
data3 <=50000;
data4 <=60000;
data5 <=70000;
data6 <=80000;
data7 <=90000;
data8 <=100000;
data9 <=110000;
data10<=120000;
when 2 =>
data1 <=30000;
data2 <=40000;
data3 <=50000;
data4 <=60000;
data5 <=70000;
data6 <=80000;
data7 <=90000;
data8 <=100000;
data9 <=110000;
data10<=120000;
when 3 =>
data1 <=30000;
data2 <=40000;
data3 <=50000;
data4 <=60000;
data5 <=70000;
data6 <=80000;
data7 <=90000;
data8 <=100000;
data9 <=110000;
data10<=120000;
when 4 =>
data1 <=30000;
data2 <=40000;
data3 <=50000;
data4 <=60000;
data5 <=70000;
data6 <=80000;
data7 <=90000;
data8 <=100000;
data9 <=110000;
data10<=120000;
when 5 =>
data1 <=30000;
data2 <=40000;
data3 <=50000;
data4 <=60000;
data5 <=70000;
data6 <=80000;
data7 <=90000;
data8 <=100000;
data9 <=110000;
data10<=120000;
when 6 =>
-- data1 <=30000;
-- data2 <=40000;
-- data3 <=50000;
-- data4 <=60000;
-- data5 <=70000;
-- data6 <=80000;
-- data7 <=90000;
-- data8 <=100000;
-- data9 <=110000;
-- data10<=120000;
-- when 7 =>
-- data1 <=30000;
-- data2 <=40000;
-- data3 <=50000;
-- data4 <=60000;
-- data5 <=70000;
-- data6 <=80000;
-- data7 <=90000;
-- data8 <=100000;
-- data9 <=110000;
-- data10<=120000;
-- when 8 =>
-- data1 <=30000;
-- data2 <=40000;
-- data3 <=50000;
-- data4 <=60000;
-- data5 <=70000;
-- data6 <=80000;
-- data7 <=90000;
-- data8 <=100000;
-- data9 <=110000;
-- data10<=120000;
-- when 9 =>
-- data1 <=30000;
-- data2 <=40000;
-- data3 <=50000;
-- data4 <=60000;
-- data5 <=70000;
-- data6 <=80000;
-- data7 <=90000;
-- data8 <=100000;
-- data9 <=110000;
-- data10<=120000;
when others=>
data1 <=30000;
data2 <=40000;
data3 <=50000;
data4 <=60000;
data5 <=70000;
data6 <=80000;
data7 <=90000;
data8 <=100000;
data9 <=110000;
data10<=120000;
end case;
end if;
end process p2;
一周热门 更多>