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

R

FPGA Optimization Log File

In some situations, it is important to disable automatic resource management. To do so, specify -1 as the value for SLICE_UTILIZATION_RATIO.

“Slice (LUT-FF Pairs) Utilization Ratio (SLICE_UTILIZATION_RATIO)” can be attached to a specific block of a design. You can specify an absolute number of slices (or FF-LUT pairs) as a percentage of the total number.

FPGA Optimization Log File

The section discusses the FPGA Optimization Log File, and includes:

“Design Optimization Report”

“Cell Usage Report”

“Timing Report”

Design Optimization Report

During design optimization, XST reports:

Potential removal of equivalent flip-flops

Two flip-flops (latches) are equivalent when they have the same data and control pins.

Register replication

Register replication is performed either for timing performance improvement or for satisfying MAX_FANOUT constraints. Register replication can be turned off using the “Register Duplication (REGISTER_DUPLICATION)” constraint.

Design Optimization Report Example

Starting low level synthesis ...

Optimizing unit <down4cnt> ...

Optimizing unit <doc_readwrite> ...

...

Optimizing unit <doc> ...

Building and optimizing final netlist ...

The FF/Latch <doc_readwrite/state_D2> in Unit <doc> is equivalent to

the following 2 FFs/Latches, which will be removed :

<doc_readwrite/state_P2> <doc_readwrite/state_M2>

Register doc_reset_I_reset_out has been replicated 2 time(s)

Register wr_l has been replicated 2 time(s)

Cell Usage Report

The Cell Usage section of the Final Report gives the count of all the primitives used in the design. The primitives are classified in the following groups:

“BELS Cell Usage”

“Flip-Flops and Latches Cell Usage”

“RAMS Cell Usage”

“SHIFTERS Cell Usage”

“Tristates Cell Usage”

“Clock Buffers Cell Usage”

“IO Buffers Cell Usage”

XST User Guide

www.xilinx.com

277

10.1

Chapter 3: XST FPGA Optimization

R

“LOGICAL Cell Usage”

“OTHER Cell Usage”

BELS Cell Usage

The BELS group in the Cell Usage section of the Final Report contains all the logical cells that are basic elements of the Virtex technology, for example:

LUTs

MUXCY

MUXF5

MUXF6

MUXF7

MUXF8

Flip-Flops and Latches Cell Usage

The Flip-Flops and Latches group in the Cell Usage section of the Final Report contains all the flip-flops and latches that are primitives of the Virtex technology, for example:

FDR

FDRE

LD

RAMS Cell Usage

The RAMS group in the Cell Usage section of the Final Report contains all the RAMs.

SHIFTERS Cell Usage

The SHIFTERS group in the Cell Usage section of the Final Report contains all the shift registers that use the Virtex primitive:

TSRL16

SRL16_1

SRL16E

SRL16E_1

SRLC

Tristates Cell Usage

The Tristates group in the Cell Usage section of the Final Report contains all the tristate primitives:

BUFT

278

www.xilinx.com

XST User Guide

 

 

10.1

R

FPGA Optimization Log File

Clock Buffers Cell Usage

The Clock Buffers group in the Cell Usage section of the Final Report contains all the clock buffers:

BUFG

BUFGP

BUFGDLL

IO Buffers Cell Usage

The IO Buffers group in the Cell Usage section of the Final Report contains all the standard I/O buffers (except the clock buffer):

IBUF

OBUF

IOBUF

OBUFT

IBUF_GTL ...

LOGICAL Cell Usage

The LOGICAL group in the Cell Usage section of the Final Report contains all the logical cells primitives that are not basic elements:

AND2

OR2 ...

OTHER Cell Usage

The OTHER group in the Cell Usage section of the Final Report contains all the cells that have not been classified in the previous groups.

Cell Usage Report Example

Following is an example of an XST report for cell usage:

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

...

Cell Usage :

 

# BELS

 

: 70

#

LUT2

: 34

#

LUT3

: 3

#

LUT4

: 34

# FlipFlops/Latches

: 9

#

FDC

: 8

#

FDP

: 1

# Clock Buffers

: 1

#

BUFGP

: 1

# IO Buffers

: 24

#

IBUF

: 16

#

OBUF

: 8

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

Where XST estimates the number of slices and gives, for example, the number of flip-flops, IOBs, and BRAMS. This report is very close to the one produced by MAP.

XST User Guide

www.xilinx.com

279

10.1

Chapter 3: XST FPGA Optimization

R

A short table gives information about the number of clocks in the design, how each clock is buffered, and how many loads it has.

A short table gives information about the number of asynchronous set/reset signals in the design, how each signal is buffered, and how many loads it has.

Timing Report

This section discusses the Timing Report, and includes:

“About the Timing Report”

“Timing Report Example”

“Timing Report Timing Summary Section”

“Timing Report Timing Detail Section”

“Timing Report Schematic”

“Timing Report Paths and Ports”

About the Timing Report

At the end of synthesis, XST reports the timing information for the design. The Timing Report shows the information for all four possible domains of a netlist:

register to register

input to register

register to outpad

inpad to outpad

Timing Report Example

Following is an example of a Timing Report section in the XST log file.

These timing numbers are only a synthesis estimate. For accurate timing information, see the trace report generated after place-and-route.

Clock Information:

 

 

 

------------------

 

 

 

-----------------------------------

+------------------------

+-------

+

Clock Signal

| Clock buffer(FF name)

| Load

|

-----------------------------------

+------------------------

+-------

+

CLK

| BUFGP

| 11

|

-----------------------------------

+------------------------

+-------

+

Asynchronous Control Signals Information:

 

 

 

----------------------------------------

 

 

 

-------------------------------------

+

-------------------------------

+

-------

+

Control Signal

|

Buffer(FF name)

|

Load

|

-------------------------------------

+-------------------------------

 

+-------

 

+

rstint(MACHINE/current_state_Out01:O)|

NONE(sixty/lsbcount/qoutsig _ 3)|

4

|

RESET

|

IBUF

|

3

|

sixty/msbclr(sixty/msbclr:O)

|

NONE(sixty/msbcount/qoutsig _ 3)|

4

|

-------------------------------------

+-------------------------------

 

+-------

 

+

Timing Summary:

---------------

Speed Grade: -12

280

www.xilinx.com

XST User Guide

 

 

10.1

R

FPGA Optimization Log File

Minimum period: 2.644ns (Maximum Frequency: 378.165MHz)

Minimum input arrival time before clock: 2.148ns

Maximum output required time after clock: 4.803ns

Maximum combinational path delay: 4.473ns

Timing Detail:

--------------

All values displayed in nanoseconds (ns)

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

Timing constraint: Default period analysis for Clock 'CLK' Clock period: 2.644ns (frequency: 378.165MHz)

Total number of paths / destination ports: 77 / 11

-------------------------------------------------------------------------

Delay:

2.644ns (Levels of Logic

= 3)

Source:

MACHINE/current_state_FFd3 (FF)

Destination:

sixty/msbcount/qoutsig_3

(FF)

Source Clock:

CLK rising

 

 

 

Destination Clock: CLK rising

 

 

 

Data Path: MACHINE/current_state_FFd3 to sixty/msbcount/qoutsig_3

 

 

Gate

Net

 

Cell:in->out

fanout

Delay

Delay

Logical Name (Net Name)

----------------------------------------

 

 

 

------------

FDC:C->Q

8

0.272

0.642

MACHINE/current_state_FFd3

(MACHINE/current_state_FFd3)

 

 

 

LUT3:I0->O

3

0.147

0.541

Ker81 (clkenable)

LUT4_D:I1->O

1

0.147

0.451

sixty/msbce (sixty/msbce)

LUT3:I2->O

1

0.147

0.000

sixty/msbcount/qoutsig_3_rstpot (N43)

FDC:D

 

0.297

 

sixty/msbcount/qoutsig_3

----------------------------------------

 

Total

 

2.644ns

(1.010ns logic, 1.634ns route)

 

 

 

(38.2%

logic, 61.8% route)

Timing Report Timing Summary Section

The Timing Summary section of the Timing Report summarizes the timing paths for all four domains:

The path from any clock to any clock in the design:

Minimum period: 7.523ns (Maximum Frequency: 132.926MHz)

The maximum path from all primary inputs to the sequential elements:

Minimum input arrival time before clock: 8.945ns

The maximum path from the sequential elements to all primary outputs:

Maximum output required time before clock: 14.220ns

The maximum path from inputs to outputs:

Maximum combinational path delay: 10.899ns

If there is no path in the domain, No path found is printed instead of the value.

XST User Guide

www.xilinx.com

281

10.1

Chapter 3: XST FPGA Optimization

R

Timing Report Timing Detail Section

The Timing Detail section of the Timing Report describes the most critical path in detail for each region:

Start point of the path

End point of the path

Maximum delay of the path

Slack

The start and end points can be:

Clock (with the phase: rising/falling), or

Port

Path from Clock 'sysclk' rising to Clock 'sysclk' rising : 7.523ns (Slack: -7.523ns)

The detailed path shows:

Cell type

Input and output of this gate

Fanout at the output

Gate delay

Net delay estimate

Name of the instance.

When entering a hierarchical block, begin scope is printed. When exiting a hierarchical block, end scope is printed.

Timing Report Schematic

The preceding report corresponds to the following schematic:.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

LUT3

 

 

LUT3

 

 

 

 

 

 

 

 

 

 

 

 

C

Q

 

 

 

I1

O

 

I1

O

 

 

 

 

 

 

 

 

 

 

 

 

 

 

1.372ns

 

2.970ns

 

0.738ns

1.265ns

 

0.738ns

0.000ns

 

D

 

 

 

 

 

 

 

 

 

 

0.440ns

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

state_FFD1

 

 

 

 

 

LUT_54

 

I_next_state_2

 

 

 

 

 

 

 

 

 

 

 

 

 

X9554

Timing Report Paths and Ports

The Timing Report section shows the number of analyzed paths and ports. If XST is run with timing constraints, it also shows the number of failed paths and ports. The number of analyzed and failed paths shows how many timing problems there are in the design. The number of analyzed and failed ports may show how they are spread in the design. The

282

www.xilinx.com

XST User Guide

 

 

10.1

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