05 Arithmetic in VHDL
05 Arithmetic in VHDL
05 Arithmetic in VHDL
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
<strong>Arithmetic</strong> Package Functions- II<br />
• Signed <strong>Arithmetic</strong> Functions:<br />
Function Argument 1 Argument 2 Returns<br />
+<br />
signed signed signed<br />
signed <strong>in</strong>teger signed<br />
-<br />
signed signed signed<br />
signed <strong>in</strong>teger signed<br />
• i.e. functions to add/ subtract signed numbers<br />
– Note <strong>in</strong>teger as a +ve/ -ve argument for signed op’s<br />
118