Added VHDL code as appendix to technote + fixed some line length/indentions