Forum Discussion
Altera_Forum
Honored Contributor
14 years agoLPM_mult : dynamic reduction with signed number
Hello, I’m using a very simple setup configuration with quartus 2 and cyclone III : full scale analog signal - - > CAN 14 bit -- > DAC 14 bit : OK no distortion After that I add a LPM_m...
Altera_Forum
Honored Contributor
14 years agoAfter many tests , and pratical results , the solution :
LPM_Mult with signed binary. Input A [13..0] Input B [13..0]. Keep output with defined width [27..0] But!! need to use : [26..13] to have the same range on output DAC. It works :-) --- Quote Start --- I suggest to play around with a pocket calculator to understand the problem and possible solutions. To get exact factor 1 multiply, you need an extra bit in scaling factor. --- Quote End ---