Forum Discussion
Altera_Forum
Honored Contributor
17 years agosimulation error occuring
the program i have given below applies a multiplication block using a paakage ..i m having problem when i generate a waveform for given inputs its not multiplying it the error is probably due to re...
Altera_Forum
Honored Contributor
17 years agoI think you are overcomplicating things by creating your own "+" function. The synthsisor and simulator are optimised for using the ieee.numeric_std package (or if you really have to, the ieee.std_logic_arith/std_logic_unsigned packages). These already provide as many +, *, resiziing and anything else you could ever think of. They are also great for the synthesiser to infer hardware adders and multipliers from. Custom functions may not have hardware infered from them.