dded SMUL module to perform scalar multiplication