vhdl math tricks 1 - SynthWorks