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

R

Speed Optimization Under Area Constraint

...

If you have previously run XST in non-incremental mode and then switched to incremental mode, or the decomposition of the design has changed, you must delete all previously generated NGC files before continuing. Otherwise XST issues an error.

In the previous example, adding incremental_synthesis=true to the block LEVA_1, XST gives the following error:

ERROR:Xst:624 - Could not find instance <inst_leva_1> of cell <leva_1> in <leva>

The problem probably occurred because the design was previously run in non-incremental synthesis mode. To fix the problem, remove the existing NGC files from the project directory.

If you modified the HDL in the top level block of the design, and at the same time changed the name of top level block, XST cannot detect design modifications and resynthesize the top-level block. Force resynthesis by using the “Resynthesize (RESYNTHESIZE)” constraint.

Speed Optimization Under Area Constraint

This section discusses Speed Optimization Under Area Constraint, and includes:

“About Speed Optimization Under Area Constraint”

“Speed Optimization Under Area Constraint Examples”

About Speed Optimization Under Area Constraint

XST performs timing optimization under the area constraint. This option is named:

LUT-FF Pairs Utilization Ratio (Virtex-5 devices)

“Slice (LUT-FF Pairs) Utilization Ratio (SLICE_UTILIZATION_RATIO)” (all other FPGA devices)

This option is available from Project Navigator > Process Properties > XST Synthesis Options. By default this constraint is set to 100% of the selected device size.

This constraint has influence at low level synthesis only (it does not control inference). If this constraint is specified, XST makes an area estimation, and if the specified constraint is met, XST continues timing optimization trying not to exceed the constraint. If the size of the design is more than requested, then XST tries to reduce the area first and if the area constraint is met, then begins timing optimization.

Speed Optimization Under Area Constraint Examples

This section gives the following Speed Optimization Under Area constraint examples:

“Speed Optimization Under Area Constraint Example One (100%)”

“Speed Optimization Under Area Constraint Example Two (70%)”

“Speed Optimization Under Area Constraint Example Three (55%)”

Speed Optimization Under Area Constraint Example One (100%)

In the following example the area constraint was specified as 100% and initial estimation shows that in fact it occupies 102% of the selected device. XST begins optimization and reaches 95%.

XST User Guide

www.xilinx.com

275

10.1

Chapter 3: XST FPGA Optimization

R

...

================================================================

*

* Low Level Synthesis

*

================================================================

Found area constraint ratio of 100 (+ 5) on block tge, actual ratio is 102.

Optimizing block <tge> to meet ratio 100 (+ 5) of 1536 slices : Area constraint is met for block <tge>, final ratio is 95.

================================================================

...

Speed Optimization Under Area Constraint Example Two (70%)

If the area constraint cannot be met, XST ignores it during timing optimization and runs low level synthesis to achieve the best frequency. In the following example, the target area constraint is set to 70%. Since XST was unable to satisfy the target area constraint, XST issues the following warning:

...

================================================================

*

* Low Level Synthesis

*

================================================================

Found area constraint ratio of 70 (+ 5) on block fpga_hm, actual ratio is 64.

Optimizing block <fpga_hm> to meet ratio 70 (+ 5) of 1536 slices : WARNING:Xst - Area constraint could not be met for block <tge>, final ratio is 94

...

================================================================

...

Note: "(+5)" stands for the max margin of the area constraint. If the area constraint is not met, but the difference between the requested area and obtained area during area optimization is less or equal then 5%, then XST runs timing optimization taking into account the achieved area, not exceeding it.

Speed Optimization Under Area Constraint Example Three (55%)

In the following example, the area was specified as 55%. XST achieved only 60%. But taking into account that the difference between requested and achieved area is not more than 5%, XST considers that the area constraint was met.

...

================================================================

*

 

*

Low Level Synthesis

*

================================================================

Found area constraint ratio of 55 (+ 5) on block fpga_hm, actual ratio is 64.

Optimizing block <fpga_hm> to meet ratio 55 (+ 5) of 1536 slices : Area constraint is met for block <fpga_hm>, final ratio is 60.

================================================================

...

276

www.xilinx.com

XST User Guide

 

 

10.1

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