Article ID: 000085695 Content Type: Troubleshooting Last Reviewed: 10/18/2011

LPM_CLSHIFT MegaWizard Plug-In Manager does not correctly set the shift direction

Environment

    Quartus® II Subscription Edition
BUILT IN - ARTICLE INTRO SECOND COMPONENT

Critical Issue

Description

The LPM_CLSHIFT MegaWizard Plug-In Manager does not correctly set the shift direction.

Resolution

After you generate a left or right shifter with the MegaWizard Plug-In Manager, manually modify the MegaWizard-generated wrapper to add the direction.For example, add the direction line as bolded below:

lpm_clshift LPM_CLSHIFT_component ( .data (data), .distance (distance),.direction (1\'b1),.result (sub_wire0) // synopsys translate_off , .aclr (), .clken (), .clock (), .overflow (), .underflow () // synopsys translate_on? );Note: VCC (1’b1) creates a right shifter; GND (1’b0) creates a left shifter.

Related Products

This article applies to 1 products

Intel® Programmable Devices

1