Добавил:
Upload Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
xst.pdf
Скачиваний:
141
Добавлен:
11.06.2015
Размер:
5.64 Mб
Скачать

R

CPLD Synthesis Constraints

#OBUFE: nb_of_obufe

#OBUFT: nb_of_obuft

#Others: nb_of_others

CPLD Synthesis Constraints

The constraints (attributes) specified in the Hardware Description Language (HDL) design or in the constraint files are written by XST into the NGC file as signal properties.

Improving Results in CPLD Synthesis

This section discusses Improving Results in CPLD Synthesis, and includes:

“About Improving Results in CPLD Synthesis”

“Obtaining Better Frequency”

“Fitting a Large Design”

About Improving Results in CPLD Synthesis

XST produces optimized netlists for the CPLD fitter, which fits them in specified devices and creates the download programmable files. The CPLD low-level optimization of XST consists of logic minimization, subfunction collapsing, logic factorization, and logic decomposition. The result of optimization is an NGC netlist corresponding to Boolean equations, which are reassembled by the CPLD fitter to fit the best of the macrocell capacities. A special XST optimization process, known as equation shaping, is applied for XC9500/XL/XV devices when the following options are selected:

Keep Hierarchy: No

Optimization Effort: 2 or High

Macro Preserve: No

The equation shaping processing also includes a critical path optimization algorithm, which tries to reduce the number of levels of critical paths.

The CPLD fitter multi-level optimization is still recommended because of the special optimizations done by the fitter (D to T flip-flop conversion, De Morgan Boolean expression selection).

Obtaining Better Frequency

The frequency depends on the number of logic levels (logic depth). To reduce the number of levels, Xilinx recommends the following options:

Optimization Effort

Set Optimization Effort to 2 or High. This value implies the calling of the collapsing algorithm, which tries to reduce the number of levels without increasing the complexity beyond certain limits.

Optimization Goal

Set Optimization Goal to Speed. The priority is the reduction of number of levels.

Obtaining the best frequency depends on the CPLD fitter optimization. Xilinx recommends running the multi-level optimization of the CPLD fitter with different values

XST User Guide

www.xilinx.com

301

10.1

Chapter 4: XST CPLD Optimization

R

for the –pterms options, beginning with 20 and finishing with 50 with a step of 5. Statistically the value 30 gives the best results for frequency.

The following tries, in this order, may give successively better results for frequency:

“Obtaining Better Frequency Try 1”

“Obtaining Better Frequency Try 2”

“Obtaining Better Frequency Try 3”

“Obtaining Better Frequency Try 4”

The CPU time increases from Try 1 to Try 4.

Obtaining Better Frequency Try 1

Select only optimization effort 2 and speed optimization. The other options have default values.

Optimization effort: 2 or High

Optimization Goal: Speed

Obtaining Better Frequency Try 2

Flatten the user hierarchy. In this case optimization has a global view of the design, and the depth reduction may be better.

Optimization effort: 1/Normal or 2/High

Optimization Goal: Speed

Keep Hierarchy: no

Obtaining Better Frequency Try 3

Merge the macros with surrounded logic. The design flattening is increased.

Optimization effort: 1 or Normal

Optimization Goal: Speed

Keep Hierarchy: no

Macro Preserve no

Obtaining Better Frequency Try 4

Apply the equation shaping algorithm. Options to be selected:

Optimization effort: 2 or High

Macro Preserve: no

Keep Hierarchy: no

Fitting a Large Design

If a design does not fit in the selected device, exceeding the number of device macrocells or device P-Term capacity, you must select an area optimization for XST. Statistically, the best area results are obtained with the following options:

Optimization effort: 1 (Normal) or 2 (High)

Optimization Goal: Area

Default values for other options

302

www.xilinx.com

XST User Guide

 

 

10.1

R

Improving Results in CPLD Synthesis

Another option is -wysiwyg yes. This option may be useful when the design cannot be simplified by optimization and the complexity (in number of P-Terms) is near the device capacity. It may be that optimization, trying to reduce the number of levels, creates larger equations, therefore increasing the number of P-Terms and so preventing the design from fitting. By validating this option, the number of P-Terms is not increased, and the design fitting may be successful.

XST User Guide

www.xilinx.com

303

10.1

Chapter 4: XST CPLD Optimization

R

304

www.xilinx.com

XST User Guide

 

 

10.1

Соседние файлы в предмете [НЕСОРТИРОВАННОЕ]