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 2: About UnimacrosDYNAMIC_PATTERN => DYNAMIC_PATTERN, -- Input Dynamic Match/Mask Bus, width determined by WIDTH genericRST(RST) -- 1-bit input active high reset);-- End of EQ_COMPARE_MACRO_inst instantiationVerilog Instantiation Template// EQ_COMPARE_MACRO: Equality Comparator implemented in a DSP48E// <strong>Virtex</strong>-5, <strong>Virtex</strong>-6// <strong>Xilinx</strong> <strong>HDL</strong> <strong>Libraries</strong> <strong>Guide</strong>, version 11.2EQ_COMPARE_MACRO #(.DEVICE("VIRTEX5"), // Target Device: "VIRTEX5", "VIRTEX6".LATENCY(2), // Desired clock cycle latency, 0-2.MASK(48’h000000000000), // Select bits to be masked, must set SEL_MASK="MASK".SEL_MASK("MASK"), // "MASK" = use MASK parameter,// "DYNAMIC_PATTERN" = use DYNAMIC_PATTER input bus.SEL_PATTERN("STATIC_PATTERN"), // "STATIC_PATTERN" = use STATIC_PATTERN parameter,// "DYNAMIC_PATTERN = use DYNAMIC_PATTERN input bus.STATIC_PATTERN(48’h000000000000), // Specify static pattern, must set SEL_PATTERN = "STATIC_PATTERN".WIDTH(48) // Comparator output bus width, 1-48) EQ_COMPARE_MACRO_inst (.Q(Q), // 1-bit output indicating a match);.CE(CE), // 1-bit active high input clock enable.CLK(CLK), // 1-bit positive edge clock input.DATA_IN(DATA_IN), // Input Data Bus, width determined by WIDTH parameter.DYNAMIC_PATTERN(DYNAMIC_PATTERN), // Input Dynamic Match/Mask Bus, width determined by WIDTH parameter.RST(RST) // 1-bit input active high reset// End of EQ_COMPARE_MACRO_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>68 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!