Fix hardware xilinxcn

Performance improvement for Xilinx hardware CNs.
Enables hardware barrel shifter and divider for better performance.