VHDL generic utility. Useful to build more complex project