14.08.2013 Views

Xilinx CPLD Libraries Guide

Xilinx CPLD Libraries Guide

Xilinx CPLD Libraries Guide

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

About Design Elements<br />

Available Attributes<br />

Attribute Type Allowed Values Default Description<br />

DRIVE Integer 2, 4, 6, 8, 12, 16, 24 12 Specifies the output current drive<br />

strength of the I/O. It is suggested<br />

that you set this to the lowest setting<br />

tolerable for the design drive and<br />

timing requirements.<br />

IOSTANDARD String Consult the product Data<br />

Sheet.<br />

"DEFAULT" Specifies the I/O standard to be used<br />

for this output.<br />

SLEW String "SLOW" or "FAST” "SLOW” Specifies the slew rate of the output<br />

driver. Consult the product Data<br />

Sheet for recommendations of the<br />

best setting for this attribute.<br />

VHDL Instantiation Template<br />

Unless they already exist, copy the following two statements and paste them before the entity declaration.<br />

Library UNISIM;<br />

use UNISIM.vcomponents.all;<br />

-- OBUFT: Single-ended 3-state Output Buffer<br />

-- All devices<br />

-- <strong>Xilinx</strong> HDL <strong>Libraries</strong> <strong>Guide</strong>, version 10.1.1<br />

OBUFT_inst : OBUFT<br />

generic map (<br />

DRIVE => 12,<br />

IOSTANDARD => "DEFAULT",<br />

SLEW => "SLOW")<br />

port map (<br />

O => O, -- Buffer output (connect directly to top-level port)<br />

I => I, -- Buffer input<br />

T => T -- 3-state enable input<br />

);<br />

-- End of OBUFT_inst instantiation<br />

Verilog Instantiation Template<br />

// OBUFT: Single-ended 3-state Output Buffer<br />

// All devices<br />

// <strong>Xilinx</strong> HDL <strong>Libraries</strong> <strong>Guide</strong>, version 10.1.1<br />

OBUFT #(<br />

.DRIVE(12), // Specify the output drive strength<br />

.IOSTANDARD("DEFAULT"), // Specify the output I/O standard<br />

.SLEW("SLOW") // Specify the output slew rate<br />

) OBUFT_inst (<br />

.O(O), // Buffer output (connect directly to top-level port)<br />

.I(I), // Buffer input<br />

.T(T) // 3-state enable input<br />

);<br />

// End of OBUFT_inst instantiation<br />

For More Information<br />

• See the appropriate <strong>CPLD</strong> User <strong>Guide</strong>.<br />

• See the appropriate <strong>CPLD</strong> Data Sheets.<br />

<strong>CPLD</strong> <strong>Libraries</strong> <strong>Guide</strong><br />

ISE 10.1 www.xilinx.com 507

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!