时序分析之3优化策略
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
Quartus II Software Design Series : Optimization Optimization Techniques –
Timing Optimization
© 2009 Altera Corporation
Timing Optimization
n General Recommendations
n Analyzing Timing Failures
n Solving Typical Timing Failures
© 2009 Altera Corporation
General Recommendations
n Clocks
n I/O
n Asynchronous Control Signals
n Many of these suggestions are found in Timing Optimization Advisor & Quartus II Handbook
© 2009 Altera Corporation
Clocks
n Optimize for Speed
-Apply globally
-Apply hierarchically
-Apply to specific clock domain
n Enable netlist optimizations n Enable physical synthesis
© 2009 Altera Corporation
Global Speed Optimization
n Select speed
-Default is balanced
-Area-optimized designs may also show speed improvements n May result in increased logic resource usage
© 2009 Altera Corporation
Individual Optimization
n Optimization Technique logic option -Use Assignment Editor or Tcl to apply to hierarchical block n Speed Optimization Technique for Clock Domains logic option
-Use Assignment Editor or Tcl to apply to clock domain or between clock domains
© 2009 Altera Corporation
Synthesis Netlist Optimizations
n
Further optimize netlists during synthesis n Types
-WYSIWYG primitive resynthesis
-Gate-level register retiming
Created/modified nodes
noted in Compilation Report
© 2009 Altera Corporation
WYSIWYG Primitive Resynthesis n Unmaps 3rd-party atom
netlist back to gates &
then remaps to Altera
primitives
-Not intended for use with
integrated synthesis
n Considerations
-Node names may change
-3rd-party synthesis attributes
may be lost
l Preserve/keep
-Some registers may be
synthesized away
© 2009 Altera Corporation
Gate-Level Register Retiming
n Moves registers across combinatorial logic to balance timing
n Trades between critical & non-critical paths
n Makes changes at gate level
© 2009 Altera Corporation
Physical Synthesis
n Re-synthesis
based on fitter
output
-Makes
incremental
changes that
improve results
for a given
placement
-Compensates for
routing delays
from fitter
© 2009 Altera Corporation
Physical Synthesis
n Types
-Targeting performance:
l Combinational logic
l Asynchronous signal pipelining
l Register duplication
l Register retiming
-Targeting fitting
l Physical synthesis for combinatorial logic
l Logic to memory mapping
n Effort
-Trades performance vs. compile time
-Normal, extra or fast
n New or modified nodes appear in Compilation Report