TA的每日心情 | 开心 2019-11-19 15:19 |
---|
签到天数: 1 天 [LV.1]初来乍到
|
EDA365欢迎您登录!
您需要 登录 才可以下载或查看,没有帐号?注册
x
各种警告处理汇总 (实用) ( _) {! l+ O1 X8 m7 s$ g
0 g1 ?5 V0 D7 m" Z0 i' Y第一种警告+ |+ q3 f* {5 A9 C) v
Following 4 pins have nothing,GND,orVCC driving datain port --changes
& H. r J& f" W: ?: vto this connectivity may change fitting results " M7 X) `. D2 T3 q6 z. }. g' S
- f9 J0 K" ~6 w+ Y. A2 p) L, q原因:第4 脚,空或接地或接上了电源
0 M4 n- l6 N; a( e v2 r) U措施:有时候定义了输出端口,但输出端直接赋‘0’,便会被接地,赋‘1’接电源。如果你的设计中这些端口就是这样用的,那便可以不理会这些warning1 g! s+ Q7 f# C* r) F6 \
第二种警告, h" N- \- E3 I# T& V. G
v) Q, b2 g6 A
Verilog HDL assignment warning at <location>:truncated value with size <number> to match size of target (<number>
& @% E* ~ t7 u. b4 U% u2 R
) A' R( C e% z, ?原因: HDL设计中对目标的位数进行了设定,如:reg[4:0] a;而默认为32 位。
, m/ o0 E0 h# C+ v* V措施: 改变设定的位数,将位数裁定到合适的大小) H- P" G1 P& g1 p) m
第三种警告
; N. m( ]! j& p- n$ \8 e4 F' Y- T0 S8 @: D; h5 \6 c% k! p
Timing Analysis does not support the analysis of latches as synchronous elements for the currently selected device family 7 K$ N8 d2 H; e( ^, G
+ x9 ^ n$ ?( b/ S& Y: ?$ W7 M- D- w原因:用analyze_latches_as_synchronous_elements setting 可以让Quaruts II来分析同步锁存,但目前的器件不支持这个特性 v: O% [2 H/ ~6 j
措施:无须理会。5 P+ B0 p/ F8 L |
1.Found clock-sensitive change during active clock edge at time <time> on register "<name>"
- S7 K% H% }" B 原因:vector source file中时钟敏感信号(如:数据,允许端,清零,同步加载等)在时钟的边缘同时变化。而时钟敏感信号是不能在时钟边沿变化的。其后果为导致结果不正确。
; l6 e, |( g7 P1 }0 d; D* \9 p 措施:编辑vector source file) R7 @; X4 H. T2 z, E, w
All reachable assignments to data_out(10) assign '0', register removed by optimization5 \( M: a h! W4 a4 {1 B
原因:经过综合器优化后,输出端口已经不起作用了4 g& c% F& c6 V
Following 9 pins have nothing, GND, or VCC driving datain port -- changes to this connectivity may change fitting results
; x3 _+ u' G) R) `2 j: K 原因:第9脚,空或接地或接上了电源3 b8 z8 S7 R( k" s6 r' Y4 x
措施:有时候定义了输出端口,但输出端直接赋‘0’,便会被接地,赋‘1’接电源。如果你的设计中这些端口就是这样用的,那便可以不理会这些 warning
- x! r3 q( d" B6 `% X0 T& YFound pins functioning as undefined clocks and/or memory enables) i. B2 `5 b# [2 y/ h3 b8 O
原因:是你作为时钟的PIN没有约束信息。可以对相应的PIN做一下设定就行了。主要是指你的某些管脚在电路当中起到了时钟管脚的* k V) J/ n5 A) g0 _
作用,比如flip-flop的clk管脚,而此管脚没有时钟约束,因此QuartusII把“clk”作为未定义的时钟。3 t# l" @; T. V
措施:如果clk不是时钟,可以加“not clock”的约束;如果是,可以在clock setting当中加入;在某些对时钟要求不很高的情况下,可以忽略此警告或在这里修改:Assignments>Timing analysis settings...>Individual clocks...>...
9 G1 h7 j- f3 [5 S! a0 N# `6 K 注意在Applies to node中只用选择时钟引脚一项即可,required fmax一般比所要求频率高5%即可,无须太紧或太松。
0 b, E: F( i# iTiming characteristics of device EPM570T144C5 are preliminary: P6 u1 x/ J3 ^4 L
原因:因为MAXII 是比較新的元件在 QuartusII 中的時序並不是正式版的,要等 Service Pack0 K7 H; {. _* [/ t" X
措施:只影响 Quartus 的 Waveform.
4 [1 E% N6 [8 X- m 7.Warning: Clock latency analysis for PLL offsets is supported for the current device family, but is not enabled2 t/ t4 ] M; M' e5 ?8 }
措施:将setting中的timing Requirements&Option-->More Timing Setting-->setting-->Enable Clock Latency中的on改成OFF
+ S/ B c4 ?% |* }3 t 8.Found clock high time violation at 14.8 ns on register "|counter|lpm_counter:count1_rtl_0|dffs[11]"
) X+ Y4 o7 D/ d, r8 |2 {5 I 原因:违反了steup/hold时间,应该是后仿真,看看波形设置是否和时钟沿符合steup/hold时间
4 f7 n7 [3 a0 Y5 D7 y+ p 措施:在中间加个寄存器可能可以解决问题: X" ~1 l$ w/ V
9.warning: circuit may not operate.detected 46 non-operational paths clocked by clock clk44 with clock skew larger than data delay
7 y; u- l( q( _ 原因:时钟抖动大于数据延时,当时钟很快,而if等类的层次过多就会出现这种问题,但这个问题多是在器件的最高频率中才会出现8 d; q1 P, ]0 t- u5 r! j
措施:setting-->timing Requirements&Options-->Default required fmax 改小一些,如改到50MHZ
( t6 }2 M0 k1 Z; ^, u' C& [ 10.Design contains <number> input pin(s) that do not drive logic
: N. X; C" n% \2 s% N: ~ 原因:输入引脚没有驱动逻辑(驱动其他引脚),所有的输入引脚需要有输入逻辑
/ O8 B. c4 R6 l9 u! ^ 措施:如果这种情况是故意的,无须理会,如果非故意,输入逻辑驱动.1 g+ Y: w, }; y- c9 D
11.Warning:Found clock high time violation at 8.9ns on node 'TEST3.CLK'
; Q7 l- c2 n7 D 原因:FF中输入的PLS的保持时间过短
1 h, I9 \! V& b6 m 措施:在FF中设置较高的时钟频率
4 F5 c# v$ h" V" H } 12.Warning: Found 10 node(s) in clock paths which may be acting as ripple and/or gated clocks -- node(s) analyzed as buffer(s) resulting in clock skew9 Q I7 J k% @0 _
原因:如果你用的 cpld 只有一组全局时钟时,用全局时钟分频产生的另一个时钟在布线中当作信号处理,不能保证低的时钟歪斜(SKEW)。会造成在这个时钟上工作的时序电路不可靠,甚至每次布线产生的问题都不一样。" ~" o+ m) k: f2 O5 a* r6 M
措施:如果用有两组以上全局时钟的 [url=][url=]FPGA[/url][/url] 芯片,可以把第二个全局时钟作为另一个时钟用,可以解决这个问题。
3 ~' U5 @! r. f- n 13.Critical Warning: Timing requirements were not met. See Report window for details.; z2 o' v& u0 G- l8 B9 s
原因:时序要求未满足,
/ U2 |; s: W' [' c% o: v1 L# R/ x# f 措施:双击Compilation Report-->Time Analyzer-->红色部分(如clock setup:'clk'等)-->左键单击list path,查看fmax的SLACK REPORT再根据提示解决,有可能是程序的算法问题或fmax设置问题
4 x2 v, ^; g) n% Z' ]" W 14.Warning: Can't find signal in vector source file for input pin |whole|clk10m
/ G; \; Q( V: D2 i( r原因:这个时因为你的波形仿真文件( vector source file )中并没有把所有的输入信号(input pin)加进去, 对于每一个输入都需要有激励源的
" k: X8 c$ X- P( Q: e: @ 15.Can't achieve minimum setup and hold requirement <text> along <number> path(s). See Report window for details.- l* |* ?8 m: J1 Z) M
原因:时序分析发现一定数量的路径违背了最小的建立和保持时间,与时钟歪斜有关,一般是由于多时钟引起的8 M0 z$ O2 q; L3 N
措施:利用Compilation Report-->Time Analyzer-->红色部分(如clock hold:'clk'等),在slack中观察是hold time为负值还是setup time 为负值,然后在:Assignment-->Assignment Editor-->To中增加时钟名(from node finder),Assignment Name中增加和多时钟有关的Multicycle 和Multicycle Hold选项,如hold time为负,可使Multicycle hold的值>multicycle,如设为2和1。. p7 Z/ w( _ {% w# p8 h
16: Can't analyze file -- file E://quartusii/*/*.v is missing: z2 w' ]2 z+ o* L$ E0 q. S- G1 h/ u
原因:试图编译一个不存在的文件,该文件可能被改名或者删除了
/ F( B; D* E8 N7 {0 w3 S7 R- p: p0 k, y 措施:不管他,没什么影响
& z) p) q! R U5 F' q! R9 G 17.Warning: Can't find signal in vector source file for input pin |whole|clk10m3 F' T: J* X: V" A }
原因:因为你的波形仿真文件( vector source file )中并没有把所有的输入信号(input pin)加进去, 对于每一个输入都需要有激励源的# q: Q6 P8 V+ [- u3 R% N' b
18.Error: Can't name logic function scfifo0 of instance "inst" -- function has same name as current design file/ G. w$ ]5 e J
原因:模块的名字和project的名字重名了2 D \# d) h7 D6 l5 }& G Q) R: Z2 f
措施:把两个名字之一改一下,一般改模块的名字
) t. ]$ i, G; \4 h! a6 j 19.Warning: Using design file lpm_fifo0.v, which is not specified as a design file for the current project, but contains definitions for 1 design units and 1 entities in project Info: Found entity 1: lpm_fifo0
& q$ t8 B; {' w$ N" @: [0 P! [) I 原因:模块不是在本项目生成的,而是直接copy了别的项目的原理图和源程序而生成的,而不是用QUARTUS将文件添加进本项目# W$ J: Z& ^+ f+ [4 a
措施:无须理会,不影响使用- M/ E+ l& Z5 M! I
20.Timing characteristics of device <name> are preliminary9 E8 L( z- a! z9 t8 f
原因:目前版本的QuartusII只对该器件提供初步的时序特征分析
% p0 A6 ^- }8 V, Q% { 措施:如果坚持用目前的器件,无须理会该警告。关于进一步的时序特征分析会在后续版本的Quartus得到完善。
5 z- y1 ~; Y' E; h9 m 21.Timing Analysis does not support the analysis of latches as synchronous elements for the currently selected device family* C" Y6 Q q; e& C
原因:用analyze_latches_as_synchronous_elements setting可以让Quaruts II来分析同步锁存,但目前的器件不支持这个特性
. n. r$ ^1 ~ K. m 措施:无须理会。时序分析可能将锁存器分析成回路。但并不一定分析正确。其后果可能会导致显示提醒用户:改变设计来消除锁存器,但实际其实无关紧要
, Q; C: G+ u+ p9 [ 22.Warning:Found xx output pins without output pin load capacitance assignment
9 F* Z9 ?* G5 F* Q4 a) p: s8 n 原因:没有给输出管教指定负载电容
0 U# b* Y/ |4 b0 d9 W 解决方法:该功能用于估算TCO和功耗,可以不理会,也可以在Assignment Editor中为相应的输出管脚指定负载电容,以消除警告 |
|