首页 » 技术SOS » 嵌入式系统 » MCU和嵌入式微处理器 » 关于modelsim仿真时产生的问题

关于modelsim仿真时产生的问题

菜鸟
2008-11-30 11:00:48     悬赏10分
不知道为什么装了xilinx7.1和medelsim6.0后,只要输入端口数据类型为integer的总是在仿真时出现如下错误: Index constraint cannot be applied to non-array type integer. 以下是一简单例子和出现的错误: entity testboolean is port(a,b:in integer range 0 to 7; c:out integer range 0 to 7); end testboolean; architecture Behavioral of testboolean is begin process(a,b) begin if(ab)then c
分享
关键词: medelsim6.0, 仿真  
高工
2009-05-30 22:26:23
1楼

能否把你要实现的功能说一下