Forum Discussion
Altera_Forum
Honored Contributor
11 years ago --- Quote Start --- are you sure? try multiply 8 bits value by 8 bits value onto 16 bits result --- Quote End --- The multiply and divide functions in numeric_std return a result that is N+M bits long. But addition/subtraction returns a result that is as long as the largest operand. --- Quote Start --- why? what is the resize doing anyway? --- Quote End --- The resize function does 0 extension for unsigned and sign extension for signed. It extends (or shrinks) the value the specified length.