10.07.2015 Views

Xilinx Virtex-6 Libraries Guide for HDL Designs

Xilinx Virtex-6 Libraries Guide for HDL Designs

Xilinx Virtex-6 Libraries Guide for HDL Designs

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Chapter 4: About Design ElementsV<strong>HDL</strong> Instantiation TemplateUnless they already exist, copy the following two statements and paste them be<strong>for</strong>e the entity declaration.Library UNISIM;use UNISIM.vcomponents.all;-- CFGLUT5: Reconfigurable 5-input LUT-- <strong>Virtex</strong>-5/6, Spartan-6-- <strong>Xilinx</strong> <strong>HDL</strong> <strong>Libraries</strong> <strong>Guide</strong>, version 11.2CFGLUT5_inst : CFGLUT5generic map (INT => X"00000000")port map (CDO => CDO, -- Reconfiguration cascade outputO5 => O5, -- 4-LUT outputO6 => O6, -- 5-LUT outputCDI => CDI, -- Reconfiguration data inputCE => CE, -- Reconfiguration enable inputCLK => CLK, -- Clock inputI0 => I0, -- Logic data inputI1 => I1, -- Logic data inputI2 => I2, -- Logic data inputI3 => I3, -- Logic data inputI4 => I4 -- Logic data input);-- End of CFGLUT5_inst instantiationVerilog Instantiation Template// CFGLUT5: Reconfigurable 5-input LUT// <strong>Virtex</strong>-5, Virext-5, Spartan-6// <strong>Xilinx</strong> <strong>HDL</strong> <strong>Libraries</strong> <strong>Guide</strong>, version 11.2CFGLUT5 #(.INIT(32’h00000000) // Specify initial LUT contents) CFGLUT5_inst (.CDO(CDO), // Reconfiguration cascade output.O5(O5), // 4-LUT output.O6(O6), // 5-LUT output.CDI(CDI), // Reconfiguration data input.CE(CE), // Reconfiguration enable input.CLK(CLK), // Clock input.I0(I0), // Logic data input.I1(I1), // Logic data input.I2(I2), // Logic data input.I3(I3), // Logic data input.I4(I4) // Logic data input);// End of CFGLUT5_inst instantiationFor More In<strong>for</strong>mationSee the <strong>Virtex</strong>-6 FPGA User Documentation (User <strong>Guide</strong>s and Data Sheets).<strong>Virtex</strong>-6 <strong>Libraries</strong> <strong>Guide</strong> <strong>for</strong> <strong>HDL</strong> <strong>Designs</strong>116 www.xilinx.com UG623 (v 11.4) December 2, 2009

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

Saved successfully!

Ooh no, something went wrong!