generate function declarations and bodies in types.vhdl
generate function declarations and bodies in types.vhdl

previously we only generated the bodies, which was wrong.

ggreif/clash-compiler,christiaanb/clash-compiler,ggreif/clash-compiler,christiaanb/clash-compiler