Preliminary support for Altera compilation

This commit added some preliminary support for Altera FPGAs.
It also includes an example to compile the UART example.