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 UnimacrosADDSUB_MACROMacro: Adder/SubtractorIntroductionThe ADDSUB _MACRO simplifies the instantiation of the DSP48 block when used as a simple adder/subtractor.It features parameterizable input and output widths and latency that ease the integration of the DSP48 block into<strong>HDL</strong>.Port DescriptionName Direction Width (Bits) FunctionOutput PortsCARRYOUT Output 1 Carry OutRESULT Output Variable, see WIDTH attrribute. Data output bus addressed by RDADDR.Input PortsADDSUB Input 1 When high, RESULT is an addition. When low,RESULT is a subtraction.A Input Variable, see WIDTH attribute. Data input to add/sub.B Input Variable, see WIDTH_B attribute. Data input to add/subCE Input 1 Clock EnableCARRYIN Input 1 Carry InCLK Input 1 ClockRST 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>UG623 (v 11.4) December 2, 2009 www.xilinx.com 57

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

Saved successfully!

Ooh no, something went wrong!