Cypress技术论坛
直播中

于扬

8年用户 204经验值
私信 关注
[问答]

如何摆脱设置时违规警告

你好论坛
我建立了一个DMX合并与PSoC5LP套件(3 DMX输入和1 DMX输出)。
现在我想把时钟设置得和物理允许的一样快。
但是我得到一个警告:警告-1366:从时钟(CyBuxCLK)到时钟(CcLogi1)的路径中发现设置时间违反。
我能得到的最好的表现是什么?
格恩特
静态时序分析项目:PSoC5测试建立时间:12/28/17 18:54∶54设备:CY8C588Lti-LP097温度:0C-5125C VDDA:5 VDDABUF:5 VDDD:5 VDDIO0:5 VDDIO1: 5 VDIO2: 5 VDIO3:5 VUSB:5电压:5扩展所有崩溃所有显示路径隐藏所有路径
定时违反部分
注意:如果您的设计只在典型的房间温度下运行,那么在系统DWR中为您的应用选择较窄的温度范围有助于工具找到符合时序的路由解决方案。
ViolationSource ClockDestination ClockSlack(NS)设置CyBuffCl CKCROLY1-1-7.508-时钟摘要部分
ClockDomainNominal FrequencyRequired FrequencyMaximum频率为100.kHZ1.000 kHz N/A CyimyCyoMo0.000 MHZ8000 MHz N/A CysMycCycCythMythCK80.000 MHZ80.000 MHz N/A CyBuxCykCyrasMyCLK80.000 MHZ80.000 MHZ49980 MHZQueCuthyCyCordMaLCK4.000 MHZ4.000 MHZ43.435 MHZCYPLLO OXCPLPLLL OU8000 000 MHZ80.000兆赫N/A CyxTalyCyxTal8000 MHZ8000兆赫N/A
PSOC5Test.Zip
5.2兆字节

以上来自于百度翻译


     以下为原文
  Hello Forum,

i built an DMX-Merger with the PSOC5LP Kit (3 DMX Inputs and 1 DMX Output).
Now i want to setup the clocks as fast as physics allow.

But i get a warning: Warning-1366: Setup time violation found in a path from clock ( CyBUS_CLK ) to clock ( Clock_1 ).

What is the best performance that i can get?

Günter

Static Timing Analysis

Project : Psoc5test
Build Time : 12/28/17 18:54:54
Device : CY8C5888LTI-LP097
Temperature : 0C - 85/125C
VDDA : 5.00
VDDABUF : 5.00
VDDD : 5.00
VDDIO0 : 5.00
VDDIO1 : 5.00
VDDIO2 : 5.00
VDDIO3 : 5.00
VUSB : 5.00
Voltage : 5.0
Expand All | Collapse All | Show All Paths | Hide All Paths

- Timing Violation Section  

Note: If your design will only ever run at typical room temperatures, selecting the narrower temperature range in the system DWR for your application helps the tool to find timing-compliant routing solutions.
[tr]ViolationSource ClockDestination ClockSlack(ns)[/tr]
Setup
CyBUS_CLKClock_1-7.508


- Clock Summary Section
[tr]ClockDomainNominal FrequencyRequired FrequencyMaximum FrequencyViolation[/tr]
CyILOCyILO1.000 kHz1.000 kHz N/A
CyIMOCyIMO8.000 MHz8.000 MHz N/A
CyMASTER_CLKCyMASTER_CLK80.000 MHz80.000 MHz N/A
CyBUS_CLKCyMASTER_CLK80.000 MHz80.000 MHz49.980 MHzFrequency
Clock_1CyMASTER_CLK4.000 MHz4.000 MHz43.435 MHz
CyPLL_OUTCyPLL_OUT80.000 MHz80.000 MHz N/A
CyXTALCyXTAL8.000 MHz8.000 MHz N/A


回帖(4)

徐小婷

2018-11-20 16:43:09
HTTP://www. CyPress .COM/FIL/179056/下载
请参阅本页的第14页-16页。

以上来自于百度翻译


     以下为原文
  http://www.cypress.com/file/179056/download
please see page#14-16 of this AN
举报

于扬

2018-11-20 16:54:17
引用: muuwfwr 发表于 2018-11-20 06:20
HTTP://www. CyPress .COM/FIL/179056/下载
请参阅本页的第14页-16页。

你好,安克斯,
谢谢你的帮助!
第14页是关于多个时钟的。我看不出问题,我的示意图。对于所有组件,我只使用一个时钟。
在48兆赫没有警告。
格恩特

以上来自于百度翻译


     以下为原文
  Hello anks,
 
thanks for your help!
The AN page 14 is about multiple Clocks. I cant see the Problem im my schematics. I use only one clock for all components.
At 48MHz there is no warning.
 
Günter
举报

徐小婷

2018-11-20 17:02:18
STA警告,如果打开项目的TimeN.HTML,您将发现项目中列出的安装路径/违规行为。如果单击它们,您可以看到完整路径、由每个路径贡献的延迟和松弛。
如果松弛是负的,则不能在集合FRQ上操作总线CLK,min将是67 MHz,以避免任何STA警告和问题。
之所以存在STA警告是因为在UART组件的输入引脚中设置了双同步选项,如果使它们透明,则不再有STA约束。
这是因为,在PIN级的同步与总线时钟和UART路径中的延迟不能满足该定时。
因此,您可以减少总线CLK或将输入UART引脚更改为透明模式(双击PIN & GT;PIN & GT;输入-GT;同步模式)。
后者不应该有任何问题。
如果你担心噪音,使用好的过采样和3个轮询方法中的2个。

以上来自于百度翻译


     以下为原文
  STA warnings , if you open the timing.html of your project you will find the Setup path /violations listed in the project .If you click on them you can see the complete path ,delay contributed by each path and the slack.
if the the slack is negative , you cannot operate the Bus Clk at the set freq, min would be 67 MHz to avoid any STA warnings and issues.
 
The reason there are STA warnings are because of the Double sync option set in the input pins to the UART component, if you make them transparent, you do not have STA contraints any more.
This is because ,the Synchronization at the pin level is with BUS clock and the delay in UART path cannot meet this timing.
 
So you can either reduce the BUS clk or change the input UART pins to transparent mode(Double click pin-->Pins-->Input-->Sync mode).
The latter should not have any issues.
If you are concerned about noise ,use good oversampling and 2 out of 3 polling methods.
举报

于扬

2018-11-20 17:18:42
引用: muuwfwr 发表于 2018-11-20 06:40
STA警告,如果打开项目的TimeN.HTML,您将发现项目中列出的安装路径/违规行为。如果单击它们,您可以看到完整路径、由每个路径贡献的延迟和松弛。
如果松弛是负的,则不能在集合FRQ上操作总线CLK,min将是67 MHz,以避免任何STA警告和问题。
之所以存在STA警告是因为在UART组件的输入引脚中设置了双同步选项,如果使它们透 ...

谢谢!
我降低了UART从X16到X8的过采样,并将定时器从16位切换到8位。然后它工作到77兆赫锁相环。
格恩特

以上来自于百度翻译


     以下为原文
  Thanks anks!
 
i lowered the oversampling from the UARTs from x16 to x8 and switched the Timer from 16 bit to 8 bit. Then it works up to 77 MHz PLL.
 
Günter
举报

更多回帖

发帖
×
20
完善资料,
赚取积分