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 UnimacrosCOUNTER_LOAD_MACROMacro: Loadable CounterIntroductionThe COUNTER_LOAD_MACRO simplifies the instantiation of the DSP48 block when used as dynamic loadingup/down counter. It features parameterizable output width and count by values that ease the integrationof the DSP48 block into <strong>HDL</strong>.Port DescriptionName Direction Width FunctionOutput PortsQ Output Variable, see WIDTH_DATAattribute.Input PortsCounter output.DATA Input Variable, see WIDTH_DATA Data input (two-clock latency <strong>for</strong> variable data).attribute.CE Input 1 Clock Enable.CLK Input 1 Clock.LOAD Input Variable, see WIDTH_DATAattribute.LOAD_DATA Input Variable, see WIDTH_DATAattribute.When asserted, loads the counter fromLOAD_DATA (two-clock latency).In a DSP slice, asserting the LOAD pin will <strong>for</strong>cethis data into the P register with a latency of 2clocks.DIRECTION Input 1 High <strong>for</strong> Up and Low <strong>for</strong> Down (two-clocklatency)RST Input 1 Synchronous ResetDesign Entry MethodThis unimacro can be instantiated only. It is a parameterizable version of the primitive.<strong>Virtex</strong>-6 <strong>Libraries</strong> <strong>Guide</strong> <strong>for</strong> <strong>HDL</strong> <strong>Designs</strong>60 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!