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

R

XST FPGA Constraints (Non-Timing)

Register Balancing XCF Syntax Example Three

BEGIN MODEL "entity_name"

INST "instance_name" register_balancing={yes|no|true|false|forward|backward};

END;

Register Balancing XST Command Line Syntax Example

Define Register Balancing globally with the register_balancing command line option of the run command:

-register_balancing {yes|no|forward|backward}

The default is no.

Register Balancing Project Navigator Syntax Example

Define Register Balancing globally in Project Navigator > Process Properties > Xilinx-Specific Options > Register Balancing.

Register Duplication (REGISTER_DUPLICATION)

Register Duplication (REGISTER_DUPLICATION) enables or disables register replication.

Register Duplication values are:

yes (default)

no

true (XCF only)

false (XCF only)

The default is yes. Register replication is enabled, and is performed during timing optimization and fanout control.

Register Duplication Architecture Support

Register Duplication applies to all FPGA devices. Register Duplication does not apply to CPLD devices.

Register Duplication Applicable Elements

Register Duplication applies globally, or to an entity or module.

Register Duplication Propagation Rules

Register Duplication applies to the entity or module to which it is attached.

Register Duplication Syntax Examples

Following are syntax examples using Register Duplication with particular tools or methods. If a tool or method is not listed, Register Duplication may not be used with it.

Register Duplication VHDL Syntax Example

Before Register Duplication can be used, declared it with the following syntax:

attribute register_duplication: string;

XST User Guide

www.xilinx.com

409

10.1

Chapter 5: XST Design Constraints

R

After declaring Register Duplication, specify the VHDL constraint:

attribute register_duplication of entity_name: entity is "{yes|no}";

Register Duplication Verilog Syntax Example

Place Register Duplication immediately before the module declaration or instantiation:

(* register_duplication = "{yes|no}" *)

Register Duplication XCF Syntax Example One

MODEL "entity_name" register_duplication={yes|no|true|false};

Register Duplication XCF Syntax Example Two

BEGIN MODEL "entity_name"

NET "signal_name" register_duplication={yes|no|true|false};

END;

Register Duplication Project Navigator Syntax Example

Define Register Duplication globally in Project Navigator > Process Properties > Xilinx-Specific Options > Register Duplication.

ROM Extraction (ROM_EXTRACT)

ROM Extraction (ROM_EXTRACT) enables or disables ROM macro inference.

ROM Extraction values are:

yes (default)

no

true (XCF only)

false (XCF only)

The default is yes. Typically, a ROM can be inferred from a Case statement where all assigned contexts are constant values.

ROM Extraction Architecture Support

ROM Extraction applies to all FPGA devices. ROM Extraction does not apply to CPLD devices.

ROM Extraction Applicable Elements

ROM Extraction applies globally, or to a design element or signal.

ROM Extraction Propagation Rules

ROM Extraction applies to the entity, module, or signal to which it is attached.

ROM Extraction Syntax Examples

Following are syntax examples using ROM Extraction with particular tools or methods. If a tool or method is not listed, ROM Extraction may not be used with it.

410

www.xilinx.com

XST User Guide

 

 

10.1

R

XST FPGA Constraints (Non-Timing)

ROM Extraction VHDL Syntax Example

Before using ROM Extraction, declare it with the following syntax:

attribute rom_extract: string;

After declaring ROM Extraction, specify the VHDL constraint:

attribute rom_extract of {signal_name|entity_name}: {signal|entity} is

"{yes|no}";

ROM Extraction Verilog Syntax Example

Place ROM Extraction immediately before the module or signal declaration:

(* rom_extract = "{yes|no}" *)

ROM Extraction XCF Syntax Example One

MODEL "entity_name" rom_extract={yes|no|true|false};

ROM Extraction XCF Syntax Example Two

BEGIN MODEL "entity_name"

NET "signal_name" rom_extract={yes|no|true|false};

END;

ROM Extraction XST Command Line Syntax Example

Define ROM Extraction globally with the rom_extract command line option of the run command:

-rom_extract {yes|no}

The default is yes.

ROM Extraction Project Navigator Syntax Example

Define ROM Extraction globally in Project Navigator > Process Properties > HDL Options > ROM Extraction.

ROM Style (ROM_STYLE)

ROM Style (ROM_STYLE) controls the way the macrogenerator implements the inferred ROM macros. “ROM Extraction (ROM_EXTRACT)” must be set to yes to use ROM_STYLE.

ROM Style values are:

auto (default)

block

The default is auto. XST looks for the best implementation for each inferred ROM. The implementation style can be manually forced to use block ROM or distributed ROM resources.

ROM Style Architecture Support

ROM Style applies to all FPGA devices. ROM Style does not apply to CPLD devices.

ROM Style Applicable Elements

ROM Style applies globally, or to an entity, module, or signal.

XST User Guide

www.xilinx.com

411

10.1

Chapter 5: XST Design Constraints

R

ROM Style Propagation Rules

ROM Style applies to the entity, module, or signal to which it is attached.

ROM Style Syntax Examples

Following are syntax examples using ROM Style with particular tools or methods. If a tool or method is not listed, ROM Style may not be used with it.

ROM Style VHDL Syntax Example

“ROM Extraction (ROM_EXTRACT)” must be set to yes to use ROM_STYLE.

Before using ROM Style, declare it with the following syntax:

attribute rom_style: string;

After declaring ROM Style, specify the VHDL constraint:

attribute rom_style of {signal_name|entity_name}: {signal|entity} is "{auto|block|distributed}";

The default is auto.

ROM Style Verilog Syntax Example

“ROM Extraction (ROM_EXTRACT)” must be set to yes to use ROM_STYLE. Place ROM Style immediately before the module or signal declaration:

(* rom_style = "{auto|block|distributed}" *)

The default is auto.

ROM Style XCF Syntax Example One

“ROM Extraction (ROM_EXTRACT)” must be set to yes to use ROM Style.

MODEL "entity_name" rom_style={auto|block|distributed};

ROM Style XCF Syntax Example Two

“ROM Extraction (ROM_EXTRACT)” must be set to yes to use ROM Style.

BEGIN MODEL "entity_name"

NET "signal_name" rom_style={auto|block|distributed};

END;

ROM Style XST Command Line Syntax Example

“ROM Extraction (ROM_EXTRACT)” must be set to yes to use ROM Style.

Define ROM Style globally with the -rom_style command line option of the run command:

-rom_style {auto|block|distributed}

The default is auto.

ROM Style Project Navigator Syntax Example

“ROM Extraction (ROM_EXTRACT)” must be set to yes to use ROM Style.

Define ROM Style globally in Project Navigator > Process Properties > HDL Options > ROM Style.

412

www.xilinx.com

XST User Guide

 

 

10.1

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