EDA365欢迎您登录!
您需要 登录 才可以下载或查看,没有帐号?注册
x
1)QuartusII 对代码进行时序仿真时出现 Error: Can't continue timing simulation because delay annotation information for design is missing.- Y C6 H1 b, h( P
原因: 如果只需要进行功能仿真, 不全编译也是可以进行下去的, 但时序仿真就必须进行全编译(即工具栏上的紫色实心三角符号那项)。 全仿真包括四个模块:综合器( Synthesis )、电路装配器( Fitter )、组装器( Assember)和时序分析器( Timing Analyzer ),任务窗格中会有成功标志(对号)。
3 A4 U' X3 O7 M$ N: H6 X2)在下载运行的时候,出现下面的错误:
5 C) s: Q% K0 N& mWarning: The JTAGcable you are using is not supported for Nios II systems.2 \* A( k7 y. N
You may experience intermittent JTAG communicationfailures with this cable. Please use a USB Blaster revision B. 在运行之前已经将 .sof 文件下载到开发板上面了,但是依然出现上面的问题。
+ K5 p" h7 r1 x9 m解决:在配置的时候,在 run 之后,进行配置,选择 target connection ,在最后一项: NIOS II Terminal Communication Device 中,要选择 none(不要是Jtag_uart )如果采用 USB Blaster ,可以选择 Jtag_uart 。
8 n& o3 E4 Z2 U0 B5 f! [( ^2 s' h之后再 run 就 ok 了!
. G( A8 [6 u, F: G9 F3)Error: Can't compile duplicate declarations of entity "count3" into library "work"
! g, j# A9 }5 ~- b* `此错误一般是原理图文件的名字和图中一个器件的名字重复所致, 所以更改原理图文件的名字保存即可。
m" k% c$ C. W+ R* Q/ t+ U-------------------
1.Found clock-sensitive change during active clock edge at time on register ""
; f G8 G" e* {) |+ |8 \% a原因:vector source file 中时钟敏感信号 ( 如: 数据, 允许端 , 清零, 同步加载等 ) 在时钟的边缘同时变化 . 而时钟敏感信号是不能在时钟边沿变化的 . 其后果为导致结果不正确 .
. G3 ?+ d8 y( N/ j- ~/ m. V措施: 编辑 vector source file 6 V3 ?, O0 w' |* v5 h6 I6 L' b# I" x
2.Verilog HDL assignment warning at : truncated with size+ Y0 _ X4 V$ B5 w1 U/ L( k2 f* w5 c
< number> to match size of target (
& Y4 g9 O; r: E6 y6 |3 S原因: 在 HDL设计中对目标的位数进行了设定 , 如:reg[4:0] a; 而默认为 32 位,) `+ f' [1 z, |4 t' I( Z5 E" {
将位数裁定到合适的大小 措施: 如果结果正确 , 无须加以修正 , 如果不想看到这个警告 , 可以改变设定的位数 + R) D# A" ?$ f, q. r
3.All reachable assignments to data_out(10) assign '0', register removed by optimization8 [# E. A+ y1 A5 x* ~8 ^/ c
原因: 经过综合器优化后 , 输出端口已经不起作用了 & m- i7 b( ^0 [) N( ~
4.Following 9 pins have nothing, GND,or VCCdriving datain port -- changes to this connectivity may change fitting results
- w4 b* e0 o8 f5 M原因: 有 9 个脚为空或接地或接上了电源! H- C- j3 E" }: q1 Z0 U6 o7 a
措施: 有时候定义了输出端口 , 但输出端直接赋‘ 0’, 便会被接地 , 赋‘ 1’接电源. 如果你的设计中这些端口就是这样用的 , 那便可以不理会这些 warning % V3 x* w5 r5 L0 r2 ]
5.Found pins functioning as undefined clocks and/or memory enables- c! K& Q& Z0 k
原因: 是你作为时钟的 PIN 没有约束信息 . 可以对相应的 PIN 做一下设定就行了 . 主要是指你的某些管脚在电路当中起到了时钟管脚的作用 , 比如 flip-flop 的clk 管脚, 而此管脚没有时钟约束 , 因此 QuartusII 把“ clk ”作为未定义的时钟.
* p0 G" Y9 {* w- `6 q% S1 [措施: 如果 clk 不是时钟 , 可以加“ not clock ”的约束 ; 如果是 , 可以在 clock k( M# M y3 h) _, C+ i
setting 当中加入 ; 在某些对时钟要求不很高的情况下 , 可以忽略此警告或在这里修改 :Assignments>Timing analysis settings...>Individual
4 e4 U4 y1 s* g) s2 |1 Uclocks...>... ; b) B% k1 a( {5 G4 W6 p
6.Timing characteristics of device EPM570T144C5 are preliminary
1 l, C; Z- q( Q: R/ Z6 ^# Z" ` \原因: 因为 MAXII 是比較新的元件在 QuartusII 中的時序并不是正式版的 , 要等 Service Pack
C3 k5 j$ ^8 [8 _. y* _8 O+ M措施: 只影响 Quartus 的 Waveform * L& a# ^# J: w$ g6 I9 d
7.Warning: Clock latency analysis for PLL offsets is supported for the current device family, but is not enabled2 @& k) e$ C4 y2 P" d
措施: 将 setting 中 的 timing Requirements&Option-->More Timing
& H9 j* }4 b. w1 I7 iSetting-->setting-->Enable Clock Latency 中 的 on 改 成 OFF & Q, R, Z( o% G! v( O
8.Found clock high time violation at 14.8 ns on register "|counter|lpm_counter:count1_rtl_0|dffs[11]"
$ D- R- d, h+ j' z' ?+ c# K原因: 违反了 steup/hold 时间, 应该是后仿真 , 看看波形设置是否和时钟沿符合
5 J% d; i6 n7 M9 K' \: Nsteup/hold 时间( u( k% f2 P7 a6 ^9 V D3 L
措施: 在中间加个寄存器可能可以解决问题 . T$ Z' o2 T# |0 ~
9.warning: circuit may not operate.detected 46 non-operational paths clocked by clock clk44 with clock skew larger than data delay' [, @: ^* G3 k, g
原因: 时钟抖动大于数据延时 , 当时钟很快 , 而 if 等类的层次过多就会出现这种
( {; I7 \5 o5 s5 `1 E问 题, 但这个问题多是在器件的最高频率中才会出现
: M) u( J& H4 X( U措施:setting-->timing Requirements&Options-->Default required fmax 改小一些 , 如改到 50MHZ / K2 p) @* K) R5 c: f
10.Design contains input pin(s) that do not drive logic
( C' r a% u6 _# Q( K原因: 输入引脚没有驱动逻辑 ( 驱动其他引脚 ), 所有的输入引脚需要有输入逻辑措施: 如果这种情况是故意的 , 无须理会 , 如果非故意 , 输入逻辑驱动 .
% u1 y* a( ^" v& ?* t- v11.Warning:Found clock high time violation at 8.9ns on node 'TEST3.CLK'
# q( t& @0 J: r% V. F) m4 {) B原因:FF 中输入的 PLS的保持时间过短措施: 在 FF 中设置较高的时钟频率 ( m* L3 n. F, ]0 s p
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 skew
4 J! P& ?: U a6 p: t原因: 如果你用的 cpld 只有一组全局时钟时 , 用全局时钟分频产生的另一个时钟在布线中当作信号处理 , 不能保证低的时钟歪斜 (SKEW).会造成在这个时钟 上工作的时序电路不可靠 , 甚至每次布线产生的问题都不一样 .% U' _1 H/ B# y! s* d0 R
措施: 如果用有两组以上全局时钟的 FPGA 芯片, 可以把第二个全局时钟作为另一个时钟用 , 可以解决这个问题 .
7 ^: n7 _0 j, I. u( F& \; @13.Critical Warning: Timing requirements were not met. See Report window for details.. ]0 z$ q. H4 i$ `! P
原因: 时序要求未满足 ,. K0 e# Y/ u2 A1 o$ J
措施: 双击 Compilation Report-->Time Analyzer--> 红色部分 ( 如 clock( x t( e) l; Q3 f; m% K V$ E
setup:'clk' 等)--> 左键单击 list path, 查看 fmax 的 SLACK REPOR再T根据 提示解决 , 有可能是程序的算法问题
! E; B* N! p/ n1 J: }8 A/ s14.Can't achieve minimumsetup and hold requirement along path(s). See Report window for details.
9 m2 Z" c8 h, h, [原因: 时序分析发现一定数量的路径违背了最小的建立和保持时间 , 与时钟歪斜有关, 一般是由于多时钟引起的
# W- i f3 l. o! x& R6 k: E措施: 利用 Compilation Report-->Time Analyzer--> 红色部分 ( 如 clock( e. @( \1 m. E7 t1 |! r1 a
hold:'clk' 等 ), 在 slack 中观察是 hold time 为负值还是 setup time 为负值 ,' U4 F% G' g; t4 l* c: K0 h
然后在 :Assignment-->Assignment Editor-->To 中 增 加 时 钟 名 (from node finder),Assignment Name 中增加 和多时钟有关的 Multicycle 和 Multicycle Hold 选项, 如 hold time 为负, 可 使 Multicycle hold 的 值>multicycle, 如设为 2 和 1. ( a) N3 @4 f5 I4 L* c
15: Can't analyze file -- file E://quartusii/*/*.v is missing
4 B: V1 ] [7 c4 E8 q, U) I1 P原因: 试图编译一个不存在的文件 , 该文件可能被改名或者删除了措施: 不管他 , 没什么影响
6 K5 U; y1 q6 j O16.Warning: Can't find signal in vector source file for input pin |whole|clk10m
1 A; b2 G+ J" \1 F原因: 因为你的波形仿真文件 ( vector source file ) 中并没有把所有的输入 信号(input pin) 加进去 , 对于每一个输入都需要有激励源的
" F0 Q5 O- m- C, E+ d6 E/ y' [17.Error: Can't name logic scfifo0 of instance "inst" -- has same name as current design file2 Z& N% `/ k: d' t
原因: 模块的名字和 project 的名字重名了
5 v. I; Q1 N' n. x, ^, N' O* S措施: 把两个名字之一改一下 , 一般改模块的名字 + m) O* {' {$ u- x( ]4 Y; ~: G* B; G
18.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. Y2 e- t9 i7 n3 |; c
原因: 模块不是在本项目生成的 , 而是直接 copy 了别的项目的原理图和源程序# C; W, H) i( Z# t
而生成的 , 而不是用 QUARTU将S 文件添加进本项目
3 F0 R/ ]3 J5 b. v5 ^措施: 无须理会 , 不影响使用
\; g+ ~* D/ E0 ? M0 w19.Timing characteristics of device are preliminary
3 n- ^$ @0 S$ r: m原因: 目前版本的 QuartusII 只对该器件提供初步的时序特征分析
# Z8 c% C( j/ Y措施: 如果坚持用目前的器件 , 无须理会该警告 . 关于进一步的时序特征分析会在后续版本的 Quartus 得到完善 . & g! n% Q6 ~4 u
20.Timing Analysis does not support the analysis of latches as synchronous elements for the currently selected device family0 n6 o2 o/ w D2 F8 Y
原因: 用 analyze_latches_as_synchronous_elements setting 可以让 Quaruts II 来分析同步锁存 , 但目前的器件不支持这个特性% e2 \% S3 t9 K" _+ C9 y
措施: 无须理会 . 时序分析可能将锁存器分析成回路 . 但并不一定分析正确 . 其 后果可能会导致显示提醒用户 : 改变设计来消除锁 存器
5 b, K' |/ D# `" l2 z: p8 Z21.Warning:Found xx output pins without output pin load capacitance assignment5 J4 R" F T+ Q9 o l8 H5 |/ m
原因: 没有给输出管教指定负载电容+ t3 d" v7 ]8 O% [; \
措施: 该功能用于估算 TCO和功耗 , 可以不理会 , 也可以在 Assignment Editor 中为相应的输出管脚指定负载电容 , 以消除警告 # u/ N$ {& l$ W
22.Warning: Found 6 node(s) in clock paths which may be acting as ripple and/or gated clocks -- node(s) analyzed as buffer(s) resulting in clock skew
+ o6 r/ O, {+ r& Y原因: 使用了行波时钟或门控时钟 , 把触发器的输出当时钟用就会报行波时钟 ,
9 m5 x1 A+ r" o' P% Y, G0 u" c. f将组合逻辑的输出当时钟用就会报门控时钟
9 _* Z, d3 a4 o! ^措施: 不要把触发器的输出当时钟 , 不要将组合逻辑的输出当时钟 , 如果本身如此设计 , 则无须理会该警告
- L6 p. {# X" k% ]! q) K& G9 j! b* `23.Warning (10268): Verilog HDL information at lcd7106.v(63): Always Construct contains both blocking and non-blocking assignments
' j- J, @$ R" M原因: 一个 always 模块中同时有阻塞和非阻塞的赋值 0 f+ s& Z) L, w( H; m
24.Warning: Can't find signal in vector source file for input pin |whole|clk10m& l' t, B' ~8 n# P* p
原因:这个时因为你的波形仿真文件( vector source file )中并没有把所有的输入信号 (input pin) 加进去, 对于每一个输入都需要有激励源的 ( ^( I& d3 x7 j6 {
25 Warning:Output pins are stuck at VCC or GND
( D2 Z7 h$ w1 f( K3 l5 B如果正是希望某些输出被固定置高电平或低电平或者无所谓, 就不用管它, 否则请检查代码。这样的输出其实没有什么意义 .
0 W" I- a$ Z7 e: X( G1 `26.Warning (10208): honored full_case synthesis attribute - differences5 w; [8 u. _) u* U ^1 ?5 N
between design synthesis and simulation may occur 。+ a& x) \" r8 B# q% N2 C2 t1 S
/* synopsys full_case */ ; D2g/ w&N6 S*p6 T; W!C/`8 M
% B" [, G+ D/ n& g8 @意思就是: , } #Q #_) p) U' @, ] / ~; b. |, B# D1 h' _' _8 q" |5 z5 _
告诉合成软件你的 case 几 乎 是 full case ,你( designer )可以保证没有列出的 case
" h) P9 k9 g' N分支是永远也不会发生的。 8r0 a! o- T! h8l+ O.{
7 i. z. o) u1 g2 s% G2 n目的:告诉合成软体不用去考虑没有列出的 case 分支,便于化简。7 T, E3 i9 [& T3 G4 u! f1 [
限制:当然只有 synopsys 的合成软体可以看懂了! 所以不建议用, 最好还是用 default 。2 {- ]6 A# i1 z
缺点:前后仿真不一致, 综合的结果和期望的不一致。 3 l. X( h( I( j m* S1 q
27:Warning: No exact pin location assignment(s) for 16 pins of 16 total pins
6 m @' `! [7 ], Q定义的管脚没有和外部的管脚连接.
8 X# D+ N& |. Z7 u9 |# l1 R28: Warning: Ignored locations or region assignments to the following nodes
1 a9 o) v( m# E, n# J3 Y2 AWarning: Node "78ledcom[4]" is assigned to location or region, but does not exist in design; N$ M2 ~! L% o1 @( |
设计中没提到 "78ledcom[4]" ,而分配了管脚给它。' _# b- C% W6 w3 D( V' y
说明:有时候运行了 TCL脚本文件后需要修改,修改后有一些先前分配的管脚不需要了,如果没有delete ,则会出现此提示。
1 G6 \% h" }" {6 G/ \- K3 N解决办法: assignments->pins ,把不用的管脚删除即可( TCL脚本文件里的多余管脚分配语句最好也一起 delete )。
7 k7 P3 g+ r3 m1 P) \. `/ d/ y0 cPS: 到此为止,有错误或警告时按 F1 查看帮组即可。 8 s% H% N& g6 v# g
|