找回密码
 注册

QQ登录

只需一步,快速开始

扫一扫,访问微社区

巢课
电巢直播8月计划
查看: 1853|回复: 3
打印 上一主题 下一主题

求助:一个xilinx警告,请大家指点下!!

[复制链接]

1

主题

2

帖子

7

积分

初级新手(9)

Rank: 1

积分
7
跳转到指定楼层
1#
发表于 2009-4-3 15:41 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式

EDA365欢迎您!

您需要 登录 才可以下载或查看,没有帐号?注册

x
小弟刚用ise,综合时产生了一个警告,不太明白,希望高手能指点下,多谢了!!0 m3 g! E- C- n
WARNING:Xst:2183 - Unit actel: the following tristate(s) are NOT replaced by logic (Please refer to Answer Record 20048 for more information): D<0>_MLTSRCEDGE, D<1>_MLTSRCEDGE, D<2>_MLTSRCEDGE, D<3>_MLTSRCEDGE, D<4>_MLTSRCEDGE, D<5>_MLTSRCEDGE, D<7>_MLTSRCEDGE.
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友 微信微信
收藏收藏 支持!支持! 反对!反对!

5

主题

137

帖子

338

积分

三级会员(30)

Rank: 3Rank: 3Rank: 3

积分
338
2#
发表于 2009-4-4 08:36 | 只看该作者
看看你的设计属于下面的哪种情况?0 Z& X. d9 E+ F3 t  D
- The tristate is connected to a black box.
) d/ u) E$ l5 h! T! h4 S- Z! |- The tristate is connected to the output of a block, and the hierarchy of the block is preserved. 2 ?, E5 L: `- W1 G$ `; a
- The tristate is connected to a top-level output. 7 w/ ~* i* \2 F( G
- The "tristate2logic" constraint is set to "no" on the block where tristates are placed or on the signals to which tristates are connected.

1

主题

2

帖子

7

积分

初级新手(9)

Rank: 1

积分
7
3#
 楼主| 发表于 2009-4-7 09:52 | 只看该作者
版主您好!非常感谢您的回复!
/ n: O' h$ y2 R) G# J您说的这段我也看到过,但是看不太明白。数据线D :inout std_logic_vector(7 downto 0),类型为inout
数据输出的程序:4 M3 z0 u) T* P' Y& n
   process(NCS2 ,NCS1,A19,A18,A3,A2,A1,WR,D)
! m: G# v3 J9 s$ V) U' C; N4 @1 d5 ~* H         begin! m, {) x, g! B2 o0 O
          if(not NCS2 and NCS1 and not A19 and A18 and  not A3 and not A2 and not A1 and not WR) = '1' then 3 r$ `: Y  N; y+ D7 H+ Z
             a(0)<=not D(0);
9 q7 i- B  M1 y& C  f6 ^8 S, R: r$ j             a(1)<=not D(1);
& E5 }0 I7 H  h/ M! D! ~$ A2 ^/ {& C             a(2)<=not D(2);# V. C& ~" Q) o6 }
           end if;$ B2 z$ A, @4 V4 {5 V% p" V
             ledg<= a(0);
4 D* Q7 Y7 C, w  K7 s* j# \             ledy<= a(1);
; ?3 F' N8 T$ Z3 a$ r             ledr<= a(2);/ n& Z) p$ M# o: i- i: |* k
   end process;5 Y8 {% L& y1 D* u
数据读入的程序:
9 l+ E- q6 ?/ N4 S0 t/ R2 R' U    D(7)<= not oct when(not NCS2 and NCS1 and not A19 and A18 and  not A3 and not A2 and not A1 and not RD) = '1' else 'Z';
3 v/ q" X/ e/ T7 F$ L    D(5)<=keyval(0) when (not NCS2 and NCS1 and not A19 and A18 and  not A3 and  A2 and  A1 and not RD)='1' else 'Z';
) E& `% O& ~. w- y    D(4)<=keyval(1) when (not NCS2 and NCS1 and not A19 and A18 and  not A3 and  A2 and  A1 and not RD)='1' else 'Z';2 ?, Q: Y8 f4 F/ V
    D(3)<=keyval(2) when (not NCS2 and NCS1 and not A19 and A18 and  not A3 and  A2 and  A1 and not RD)='1' else 'Z';
$ l4 P, z( f) ~  x- x    D(2)<=keyval(3) when (not NCS2 and NCS1 and not A19 and A18 and  not A3 and  A2 and  A1 and not RD)='1' else 'Z';
& ^3 F  I4 w( C1 q! `, G( _    D(1)<=keyval(4) when (not NCS2 and NCS1 and not A19 and A18 and  not A3 and  A2 and  A1 and not RD)='1' else 'Z';
- X- P, ^% r$ x& V9 rD(0)<=keyval(5) when (not NCS2 and NCS1 and not A19 and A18 and  not A3 and  A2 and  A1 and not RD)='1' else 'Z';. W( i' M& z& d7 M, L$ @1 X) u- w
就是这里出的问题,我把数据读入的程序注释掉,这个警告就没了!请问这是什么原因呢?
keep moving................

5

主题

137

帖子

338

积分

三级会员(30)

Rank: 3Rank: 3Rank: 3

积分
338
4#
发表于 2009-4-7 21:45 | 只看该作者
好长的组合逻辑。。如果可以请改为同步设计。。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

推荐内容上一条 /1 下一条

巢课

技术风云榜

关于我们|手机版|EDA365 ( 粤ICP备18020198号 )

GMT+8, 2025-2-24 06:44 , Processed in 0.060923 second(s), 39 queries , Gzip On.

深圳市墨知创新科技有限公司

地址:深圳市南山区科技生态园2栋A座805 电话:19926409050

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