找回密码
 注册

QQ登录

只需一步,快速开始

扫一扫,访问微社区

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

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

[复制链接]

1

主题

2

帖子

7

积分

初级新手(9)

Rank: 1

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

EDA365欢迎您!

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

x
小弟刚用ise,综合时产生了一个警告,不太明白,希望高手能指点下,多谢了!!
% c& v$ k" {) V' M2 X( L0 sWARNING: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 | 只看该作者
看看你的设计属于下面的哪种情况?* q( |: s! I; A+ C- F' i4 C2 W
- The tristate is connected to a black box. / q2 q) l9 B5 z* @+ J; n6 [$ {! q
- The tristate is connected to the output of a block, and the hierarchy of the block is preserved. $ U/ r  p/ j6 A+ F- N" `$ V: X
- The tristate is connected to a top-level output.
( Q& ?6 n/ z; F! l( {1 G  w* _- 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 | 只看该作者
版主您好!非常感谢您的回复!
, Q/ _! N; |( `4 h) f9 }$ n您说的这段我也看到过,但是看不太明白。数据线D :inout std_logic_vector(7 downto 0),类型为inout
数据输出的程序:7 Y- o3 `7 c6 _1 I4 J) V. C& W
   process(NCS2 ,NCS1,A19,A18,A3,A2,A1,WR,D)
) t1 W6 [" P( G+ Y& @         begin
) ^5 o+ t  L- ?" w% k          if(not NCS2 and NCS1 and not A19 and A18 and  not A3 and not A2 and not A1 and not WR) = '1' then 5 p4 r3 t! o; o6 K$ K0 K  k
             a(0)<=not D(0);% Z1 ~0 ]; \7 A8 L7 k& ?0 c! M  m( {
             a(1)<=not D(1);
9 V1 m3 y6 ]# ]  |: B             a(2)<=not D(2);
. Y( v# z" `4 {! ^9 s& S           end if;
" ^3 y* _  Z; ]3 d7 r             ledg<= a(0);
9 N9 U& k) a; M$ W: g             ledy<= a(1);
. L& j* O8 @' }7 |2 u             ledr<= a(2);# y2 n' k  ^" W
   end process;
, t8 T, i5 f2 V6 Y3 N! w数据读入的程序:
' q' B3 l: U: p. c+ ~    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';
, l. W0 `6 z# `* W# l5 u    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';7 a# ^" e" v9 b- F: x& 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';
3 o% T0 i0 ]! P! V6 B# ]( e    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';7 f. p! K$ I  G5 E
    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';6 @8 Z+ ~3 ]# O+ g3 H! A$ E
    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';* L1 `7 H% N$ T2 i* ~" S' q
D(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';4 B8 t; @2 J; ~7 l6 V( ?: O
就是这里出的问题,我把数据读入的程序注释掉,这个警告就没了!请问这是什么原因呢?
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 10:03 , Processed in 0.059228 second(s), 38 queries , Gzip On.

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

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

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