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

R

XST-Supported Third Party Constraints

PWR_MODE

PWR_MODE applies to all CPLD devices. PWR_MODE does not apply to FPGA devices.

PWR_MODE controls the power consumption characteristics of macrocells. The following VHDL statement specifies that the function generating signal s should be optimized for low power consumption:

attribute PWR_MODE : string;

attribute PWR_MODE of s : signal is "LOW";

Specify PWR_MODE in the XST Constraint File (XCF) as follows:

MODEL ENTNAME

NET s PWR_MODE=LOW;

NET s KEEP;

END;

XST writes the following statement to the NGC file:

NET s PWR_MODE=LOW;

NET s KEEP;

The Hardware Description Language (HDL) attribute can be applied to the signal on which XST infers the instance if:

The attribute applies to an instance (for example, “Pack I/O Registers Into IOBs (IOB)”, DRIVE, IOSTANDARD), and

The instance is not available (not instantiated) in the HDL source

XST-Supported Third Party Constraints

This section describes constraints of third-party synthesis vendors that are supported by XST. This section includes:

“XST Equivalents to Third Party Constraints”

“Third Party Constraints Syntax Examples”

XST Equivalents to Third Party Constraints

Table 5-8, “XST Equivalents to Third Party Constraints,” shows the XST equivalent for each of the third party constraints. For specific information on these constraints, see the vendor documentation.

Several third party constraints are automatically supported by XST, as shown in Table 5-8, “XST Equivalents to Third Party Constraints.” Constraints marked yes are fully supported. If a constraint is only partially supported, the support conditions are shown in the Automatic Recognition column.

The following rules apply:

VHDL uses standard attribute syntax. No changes are needed to the Hardware Description Language (HDL) code.

For Verilog with third party metacomment syntax, the metacomment syntax must be changed to conform to XST conventions. The constraint name and its value can be used as shown in the third party tool.

XST User Guide

www.xilinx.com

445

10.1

Chapter 5: XST Design Constraints

R

For Verilog 2001 attributes, no changes are needed to the HDL code. The constraint is automatically translated as in the case of VHDL attribute syntax

Table 5-8: XST Equivalents to Third Party Constraints

Name

Vendor

XST Equivalent

 

Automatic

Available For

 

Recognition

 

 

 

 

 

 

 

 

 

 

 

black_box

Synplicity

“BoxType

N/A

 

VHDL

 

 

(BOX_TYPE)”

 

 

Verilog

 

 

 

 

 

 

black_box_pad_pin

Synplicity

N/A

N/A

 

N/A

 

 

 

 

 

 

black_box_tri_pins

Synplicity

N/A

N/A

 

N/A

 

 

 

 

 

 

cell_list

Synopsys

N/A

N/A

 

N/A

 

 

 

 

 

 

clock_list

Synopsys

N/A

N/A

 

N/A

 

 

 

 

 

 

Enum

Synopsys

N/A

N/A

 

N/A

 

 

 

 

 

 

full_case

Synplicity

“Full Case

N/A

 

Verilog

 

Synopsys

(FULL_CASE)”

 

 

 

 

 

 

 

 

 

ispad

Synplicity

N/A

N/A

 

N/A

 

 

 

 

 

 

map_to_module

Synopsys

N/A

N/A

 

N/A

 

 

 

 

 

 

net_name

Synopsys

N/A

N/A

 

N/A

 

 

 

 

 

 

parallel_case

Synplicity

“Parallel Case

N/A

 

Verilog

 

Synopsys

(PARALLEL_CASE)”

 

 

 

 

 

 

 

 

 

return_port_name

Synopsys

N/A

N/A

 

N/A

 

 

 

 

 

 

resource_sharing

Synopsys

“Resource Sharing

N/A

 

VHDL

directives

 

(RESOURCE_SHARI

 

 

Verilog

 

 

NG)”

 

 

 

 

 

 

 

 

 

set_dont_touch_network

Synopsys

not required

N/A

 

N/A

 

 

 

 

 

 

set_dont_touch

Synopsys

not required

N/A

 

N/A

 

 

 

 

 

 

set_dont_use_cel_name

Synopsys

not required

N/A

 

N/A

 

 

 

 

 

 

set_prefer

Synopsys

N/A

N/A

 

N/A

 

 

 

 

 

 

state_vector

Synopsys

N/A

N/A

 

N/A

 

 

 

 

 

 

syn_allow_retiming

Synplicity

“Register Balancing

N/A

 

VHDL

 

 

(REGISTER_BALAN

 

 

Verilog

 

 

CING)”

 

 

 

 

 

 

 

 

 

syn_black_box

Synplicity

“BoxType

Yes

 

VHDL

 

 

(BOX_TYPE)”

 

 

Verilog

 

 

 

 

 

 

syn_direct_enable

Synplicity

N/A

N/A

 

N/A

 

 

 

 

 

 

syn_edif_bit_format

Synplicity

N/A

N/A

 

N/A

 

 

 

 

 

 

syn_edif_scalar_format

Synplicity

N/A

N/A

 

N/A

 

 

 

 

 

 

446

www.xilinx.com

XST User Guide

 

 

10.1

R

XST-Supported Third Party Constraints

Table 5-8: XST Equivalents to Third Party Constraints (Cont’d)

Name

Vendor

XST Equivalent

Automatic

Available For

Recognition

 

 

 

 

 

 

 

 

 

syn_encoding

Synplicity

“FSM Encoding

Yes (The value safe is not

VHDL

 

 

Algorithm

supported for automatic

Verilog

 

 

(FSM_ENCODING)”

recognition. Use “Safe

 

 

 

 

Implementation

 

 

 

 

(SAFE_IMPLEMENTAT

 

 

 

 

ION)” in XST to activate

 

 

 

 

this mode.)

 

 

 

 

 

 

syn_enum_encoding

Synplicity

“Enumerated

N/A

VHDL

 

 

Encoding

 

 

 

 

(ENUM_ENCODING

 

 

 

 

)”

 

 

 

 

 

 

 

syn_hier

Synplicity

“Keep Hierarchy

Yes

VHDL

 

 

(KEEP_HIERARCHY

syn_hier = hard

Verilog

 

 

)”

 

 

 

recognized as

 

 

 

 

 

 

 

 

keep_hierarchy = soft

 

 

 

 

syn_hier = remove

 

 

 

 

recognized as

 

 

 

 

keep_hierarchy = no

 

 

 

 

(XST supports only the

 

 

 

 

values hard and remove for

 

 

 

 

syn_hier in automatic

 

 

 

 

recognition.)

 

 

 

 

 

 

syn_isclock

Synplicity

N/A

N/A

N/A

 

 

 

 

 

syn_keep

Synplicity

“Keep (KEEP)”

Yes

VHDL

 

 

 

 

Verilog

 

 

 

 

 

syn_maxfan

Synplicity

“Max Fanout

Yes

VHDL

 

 

(MAX_FANOUT)”

 

Verilog

 

 

 

 

 

syn_netlist_hierarchy

Synplicity

“Netlist Hierarchy (-

N/A

VHDL

 

 

netlist_hierarchy)”

 

Verilog

 

 

 

 

 

syn_noarrayports

Synplicity

N/A

N/A

N/A

 

 

 

 

 

syn_noclockbuf

Synplicity

“Buffer Type

Yes

VHDL

 

 

(BUFFER_TYPE)”

 

Verilog

 

 

 

 

 

syn_noprune

Synplicity

“Optimize

Yes

VHDL

 

 

Instantiated

 

Verilog

 

 

Primitives

 

 

 

 

(OPTIMIZE_PRIMITI

 

 

 

 

VES)”

 

 

 

 

 

 

 

syn_pipeline

Synplicity

“Register Balancing

N/A

VHDL

 

 

(REGISTER_BALAN

 

Verilog

 

 

CING)”

 

 

 

 

 

 

 

XST User Guide

www.xilinx.com

447

10.1

Chapter 5: XST Design Constraints

Table 5-8: XST Equivalents to Third Party Constraints (Cont’d)

Name

Vendor

XST Equivalent

 

Automatic

Available For

 

Recognition

 

 

 

 

 

 

 

 

 

 

syn_preserve

Synplicity

“Equivalent Register

Yes

VHDL

 

 

Removal

 

 

Verilog

 

 

(EQUIVALENT_REG

 

 

 

 

 

ISTER_REMOVAL)”

 

 

 

 

 

 

 

 

syn_ramstyle

Synplicity

ram_extract and

Yes

VHDL

 

 

ram_style

XST implements

Verilog

 

 

 

 

RAMs in

 

 

 

 

 

no_rw_check mode

 

 

 

 

 

regardless if

 

 

 

 

 

no_rw_check is

 

 

 

 

specified or not

 

 

 

 

the area value is

 

 

 

 

 

ignored

 

 

 

 

 

 

syn_reference_clock

Synplicity

N/A

N/A

N/A

 

 

 

 

 

syn_replicate

Synplicity

“Register Duplication

Yes

VHDL

 

 

(REGISTER_DUPLIC

 

 

Verilog

 

 

ATION)”

 

 

 

 

 

 

 

 

syn_romstyle

Synplicity

rom_extract and

Yes

VHDL

 

 

rom_style

 

 

Verilog

 

 

 

 

 

syn_sharing

Synplicity

N/A

N/A

VHDL

 

 

 

 

 

Verilog

 

 

 

 

 

syn_state_machine

Synplicity

“Automatic FSM

Yes

VHDL

 

 

Extraction

 

 

Verilog

 

 

(FSM_EXTRACT)”

 

 

 

 

 

 

 

 

syn_tco <n>

Synplicity

N/A

N/A

N/A

 

 

 

 

 

syn_tpd <n>

Synplicity

N/A

N/A

N/A

 

 

 

 

 

syn_tristate

Synplicity

N/A

N/A

N/A

 

 

 

 

 

syn_tristatetomux

Synplicity

N/A

N/A

N/A

 

 

 

 

 

syn_tsu <n>

Synplicity

N/A

N/A

N/A

 

 

 

 

 

syn_useenables

Synplicity

N/A

N/A

N/A

 

 

 

 

 

syn_useioff

Synplicity

“Pack I/O Registers

N/A

VHDL

 

 

Into IOBs (IOB)”

 

 

Verilog

 

 

 

 

 

synthesis translate_off

Synplicity

“Translate Off

Yes

VHDL

synthesis translate_on

Synopsys

(TRANSLATE_OFF)

 

 

Verilog

 

 

and Translate On

 

 

 

 

 

(TRANSLATE_ON)”

 

 

 

 

 

 

 

 

xc_alias

Synplicity

N/A

N/A

N/A

 

 

 

 

 

xc_clockbuftype

Synplicity

“Buffer Type

N/A

VHDL

 

 

(BUFFER_TYPE)”

 

 

Verilog

 

 

 

 

 

 

R

448

www.xilinx.com

XST User Guide

 

 

10.1

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